mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	allow images in home and category
This commit is contained in:
		| @@ -298,7 +298,8 @@ var db = require('./database'), | ||||
| 							} | ||||
|  | ||||
| 							if(stripTags) { | ||||
| 								postData.content = S(content).stripTags().s; | ||||
| 								var s = S(content); | ||||
| 								postData.content = s.stripTags.apply(s, utils.getTagsExcept(['img', 'i'])).s; | ||||
| 							} else { | ||||
| 								postData.content = content; | ||||
| 							} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user