mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
There was a quirk with the rich text editor where if you typed a bbcode tag (e.g. `[details="Summary"]`, `[/details]`, `[spoiler]`) and then hit enter, the brackets would be escaped to `\[..\]`. This was because the serializer was treating the entire text run as a single text node and escaping it. This is as designed in ProseMirror but does not play nice with the way Discourse uses bbcode in its markdown. It was really apparent when using the discourse-math plugin because the LaTeX delimiter mode would consume the line as display math and lose the bbcode. |
||
|---|---|---|
| .. | ||
| asset-processor | ||
| deprecation-silencer | ||
| discourse | ||
| discourse-i18n | ||
| discourse-markdown-it | ||
| discourse-types | ||
| pretty-text | ||
| .npmrc | ||
| polyfills.js | ||