Skip to content

Newline after [list] generates invalid HTML  #11

Description

@eazrael
[list]
[*] Reduced enemy count in Furies Wings
...

will be converted to

<ul><br/>
</li><li> Reduced enemy count in Furies Wings<br/>
...

The line break after the <ul> is in a <li> tag which never was opened.

My proposal is to add something like "allowedChildTags" to the Tag class, so that after opening a list only [*] [li] is allowed. No idea what to if that is not the case. The keepLines behaviour needs also to be adapted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions