main ← fix-quoted-bbcode-code-blocks
opened 06:19PM - 14 Mar 24 UTC
> [code]
> line1
> line2
> [/code]
would render as
| line1
| > line2
…
instead of the correct
| line1
| line2
That was due to the `bbcode-block` code using a `slice` to get the content of a block and not taking into account it being nested in a quote block for example.
The fix was to get the content using the `getLines` utils method.
Context: https://meta.discourse.org/t/markdown-bbcode-code-quote-bug/299047