mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
closes #171
This commit is contained in:
@@ -169,7 +169,7 @@ var RDB = require('./redis.js'),
|
||||
|
||||
if (md && md.length > 0) {
|
||||
var parsedContentDOM = cheerio.load(marked(md));
|
||||
var domain = global.nconf.get('url');
|
||||
var domain = nconf.get('url');
|
||||
|
||||
parsedContentDOM('a').each(function() {
|
||||
this.attr('rel', 'nofollow');
|
||||
|
||||
Reference in New Issue
Block a user