@@ -351,7 +351,8 @@ function gatherExposedFactory() {
351351 * (optional).
352352 */
353353function validate(exposed, file, project) {
354− var ast = file.namespace('mdast').ast;
354+ var space = file.namespace('mdast');
355+ var ast = space.tree || space.ast;
355356 var references = ast ? gatherReferences(file, project) : {};
356357 var filePath = file.filePath();
357358 var reference;