Closed timlangner closed 2 years ago
When I parse a div tag, the closing tag is automatically added. Is there any way I can prevent this?
For example: parse('<div>') -> <div></div> parse('</div>')-> nothing
parse('<div>')
<div></div>
parse('</div>')
Found a workaround by putting everything I want to append in a string first and then append it to the body.
When I parse a div tag, the closing tag is automatically added. Is there any way I can prevent this?
For example:
parse('<div>')
-><div></div>
parse('</div>')
-> nothing