mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	stripping paragraph tags from post summaries in an effort to collapse it all into one paragraph block.
This commit is contained in:
		| @@ -324,7 +324,7 @@ var db = require('./database'), | ||||
|  | ||||
| 						if(stripTags) { | ||||
| 							var s = S(content); | ||||
| 							post.content = s.stripTags.apply(s, utils.getTagsExcept(['img', 'i', 'p'])).s; | ||||
| 							post.content = s.stripTags.apply(s, utils.getTagsExcept(['img', 'i'])).s; | ||||
| 						} else { | ||||
| 							post.content = content; | ||||
| 						} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user