The interpretation of HTML breaks if there is an empty line within the quoted content. If place several spaces, then it interprets normally.
It happens when you try to use <pre>
inside an HTML table
Steps to reproduce
Try those:
- Empty line
<table>
<tr><td><pre>
for (unsigned int s = 1; s < blockDim.x; s *= 2){
something
something else
}
</pre></td></tr>
</table>
- Empty line (with a space)
<table>
<tr><td><pre>
for (unsigned int s = 1; s < blockDim.x; s *= 2){
something
something else
}
</pre></td></tr>
</table>
Expected result (or Empty line with a space)
Actual result (without space)
Environment
- Operating system: Windows 10
- Obsidian version: 0.9.22
Additional information
This also happens to <details>
+ <summary>
. I found a thread saying that “details” tag is not being supported yet. Is there any place I can check what HTML tags are officially supported or not? Thanks.