mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	resolved #1060
This commit is contained in:
		| @@ -574,7 +574,6 @@ module.exports.server = server; | ||||
| 				function (topicData, next) { | ||||
|  | ||||
| 					var lastMod = topicData.timestamp, | ||||
| 						sanitize = validator.sanitize, | ||||
| 						description = (function() { | ||||
| 							var	content = ''; | ||||
| 							if(topicData.posts.length) { | ||||
| @@ -585,7 +584,7 @@ module.exports.server = server; | ||||
| 								content = content.substr(0, 255) + '...'; | ||||
| 							} | ||||
|  | ||||
| 							return sanitize(content).escape(); | ||||
| 							return validator.escape(content); | ||||
| 						})(), | ||||
| 						timestamp; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user