You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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.
The text was updated successfully, but these errors were encountered:
Well you will always be capable of writing BBCode that will result in HTML code that a HTML validator would call "incorrect". I did not even try to solve that problem - that's too much of a challenge. But you are right, this is such a big problem that I am willing to classify it as a bug.
I have to dig into the code to really understand why this happens.
Hi,
thanks for accepting this as a bug. I think this is nothing uncommon to separate the list tag and the items with new lines, so I assume it should have been hit before.
will be converted to
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.The text was updated successfully, but these errors were encountered: