WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Repeating list modifiers output incorrect HTML #4

@aeby

Description

@aeby

If the input is something like this:

text="First line\n\n** Point 1\n* Point2\nLast line"
print textile.textile_restricted(text)

The output looks like this:

<p>First line</p>

<p> <ul>
    <li>Point 1</li>
</ul></li>
<ul>
    <li>Point2</li>
</ul><br />Last line</p>

Its the same for #, - and *. The behavior is the same for two or any more repeating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions