mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
641a1a6b44
The way our markdown raw_html hoisting worked, we only supported one level of hoisting the HTML content. However when nesting [chat] transcript BBCode we need to allow for multiple levels of it. This commit changes opts.discourse.hoisted to be more constant, and the GUID keys that have the hoisted content are only deleted by unhoistForCooked rather than the cook function itself, which prematurely deletes them when they are needed further down the line. |
||
---|---|---|
.. | ||
chat | ||
discourse-details | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
lazy-yt | ||
poll | ||
styleguide |