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
Codeblocks with closing </body> or </html> tags will add closing tags to the resulting document.
<pre><code></body></code></pre>
```</body>```
</body>
or
```</html>```
</body></html>
The issue occurs only once, i.e. having multiple closing html tags will still return the whole document + only one </body></html>.
I guess it's somehow about how the HTML is saved. I can work around this with first replacing these tags with placeholders before conversion and replacing them back, but as long as I'm not sure, why this happens, it might occur for the next best element.
Version(s) affected
5.1.1
Description
Codeblocks with closing
</body>
or</html>
tags will add closing tags to the resulting document.or
The issue occurs only once, i.e. having multiple closing
html
tags will still return the whole document + only one</body></html>
.I guess it's somehow about how the HTML is saved. I can work around this with first replacing these tags with placeholders before conversion and replacing them back, but as long as I'm not sure, why this happens, it might occur for the next best element.
How to reproduce
The text was updated successfully, but these errors were encountered: