I don‘t know if this is an issue or a feature request but in my opinion if the extension HardLineBreak is enabled, line breaks should not be added for html input. Instead it should only be applied for the markdown part.
Example:
<br />
<div align="center">
<a href="#">
<img src=".github/docs/logo-1.png" alt="Logo" height="120">
</a>
</div>
## :question: About
Hello
Expected:
<p><br>
</p><div align="center">
<a href="#">
<img src=".github/docs/logo-1.png" alt="Logo" height="120">
</a><p></p>
</div><p></p>
<h2>❓ About</h2>
<br>
Hello
Actual output if HardLineBreak is enabled:
<p><br><br>
</p><div align="center"><br>
<a href="#"><br>
<img src=".github/docs/logo-1.png" alt="Logo" height="120"><br>
</a><p></p>
</div><p></p>
<h2>❓ About</h2>
<br>
Hello
I don‘t know if this is an issue or a feature request but in my opinion if the extension
HardLineBreakis enabled, line breaks should not be added for html input. Instead it should only be applied for the markdown part.Example:
Expected:
Actual output if
HardLineBreakis enabled: