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
Code blocks are not rendered properly if they are members of the first item in a list.
Probably related: #326 (but lacks any detail or test case in that one).
Demo of error
This will be wrong. Look at generated HTML.
bug
The generated HTML looks like this:
<ol>
<li>This will be wrong. Look at generated HTML.
<code>haskell
bug
</code></li>
</ol>
Demo of correct behavior
With one item before it in the list, everything works.
This will generate fine HTML.
all_ok
The generated HTML looks like this:
<ol>
<li><p>With one item before it in the list, everything works.</p></li>
<li><p>This will generate fine HTML.</p>
<pre><code class="language-haskell"> all_ok
</code></pre></li>
</ol>
Thanks
The text was updated successfully, but these errors were encountered:
(Hugo 0.27.1) BlackFriday bug report
Code blocks are not rendered properly if they are members of the first item in a list.
Probably related: #326 (but lacks any detail or test case in that one).
Demo of error
The generated HTML looks like this:
Demo of correct behavior
With one item before it in the list, everything works.
This will generate fine HTML.
The generated HTML looks like this:
Thanks
The text was updated successfully, but these errors were encountered: