mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 06:56:01 +08:00
FIX: Oneboxes were losing formatting in preview after being cached.
This commit is contained in:
parent
ad850f7349
commit
902b6bc79f
|
@ -69,7 +69,7 @@ Discourse.Dialect.on("parseNode", function(event) {
|
|||
if (Discourse && Discourse.Onebox) {
|
||||
var contents = Discourse.Onebox.lookupCache(node[1].href);
|
||||
if (contents) {
|
||||
node[0] = 'raw';
|
||||
node[0] = '__RAW';
|
||||
node[1] = contents;
|
||||
node.length = 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user