renamed "toHTML" method to "parse"

This commit is contained in:
Julian Lam
2013-09-22 13:54:21 -04:00
parent c940ce3329
commit 5f00f1e18e
4 changed files with 10 additions and 27 deletions

View File

@@ -590,7 +590,7 @@ schema = require('./schema.js'),
if (postData.content) {
stripped = postData.content.replace(/>.+\n\n/, '');
postTools.toHTML(stripped, function(err, stripped) {
postTools.parse(stripped, function(err, stripped) {
returnObj.text = utils.strip_tags(stripped);
callback(null, returnObj);
});