Commit 2f971dcf authored by Caleb Weeks's avatar Caleb Weeks

Merge branch 'feature/fse-557' of gitlab.entropy.cc:blacklight/bl-edit into feature/fse-637

parents 3416fd66 3a7ef791
......@@ -54,6 +54,7 @@ module.exports.process=function(data, $, cb){
sendError(`Component '${comp.title ? comp.title :''} (${rtype})' : Error reading documentation file.`);
}else{
var html=$.templates["doc-page"]({body : global.bl.marked(mdFile), blConfig:$.blConfig, includePreviewControls: pageMode, path : mainPath});
res.setHeader('Content-Type', "text/html; charset=utf-8");
res.end(html);
cb(null,false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment