FIX: Oneboxes were losing formatting in preview after being cached.

This commit is contained in:
Robin Ward 2013-11-06 15:58:22 -05:00
parent ad850f7349
commit 902b6bc79f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}