discourse/app/assets/javascripts/discourse-markdown-it
Régis Hanol 5213bba672
FIX: support [code] in blockquotes (#26182)
> [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
2024-03-14 19:31:22 +01:00
..
src FIX: support [code] in blockquotes (#26182) 2024-03-14 19:31:22 +01:00
addon-main.cjs
package.json DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00