From 8fbd7d83b637e113f8c86d577fad56bafd4d82c8 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 27 Jan 2015 19:16:36 +0000 Subject: [PATCH] content collector should also register the blocks, no idea why this wasnt in before --- src/static/js/contentcollector.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js index 2c8eefbfc..d34299cc6 100644 --- a/src/static/js/contentcollector.js +++ b/src/static/js/contentcollector.js @@ -87,6 +87,10 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas "li": 1 }; + _.each(hooks.callAll('aceRegisterBlockElements'), function(element){ + _blockElems[element] = 1; + }); + function isBlockElement(n) { return !!_blockElems[(dom.nodeTagName(n) || "").toLowerCase()];