mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 13:44:27 +08:00

> [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