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
Via #37 it looks like handling unclosed tags is a goal for built-in HTML parser. But I was surprised that a tag name floki was added to the parsed html tree here. Is this expected behavior?
@somlor thanks for the report! No, this is not expected. The floki tag is a "hack" to fix a problem with mochiweb_html parser.
The problem is that the parser can't understand very well HTML snippets without a parent tag (for example: <span>Click</span><button>Here</button> will be parsed as {"span", [], ["Click"]}).
The remotion of this closing tag</floki> can fix the problem. But one test is failing.
I'm trying to think a better way to fix this.
Via #37 it looks like handling unclosed tags is a goal for built-in HTML parser. But I was surprised that a tag name
floki
was added to the parsed html tree here. Is this expected behavior?The text was updated successfully, but these errors were encountered: