I will probably look into this for 0.3.1. Also see https://github.com/designcreateplay/NodeBB/issues/563cnvo created this issue in designcreateplay/NodeBB closed Saving uploaded images to disk vs Imgur #563
Images in recent posts on side.
If someone posts an image, it just shows nothing. I'd prefer it either have it not show their post at all or show a little thumbnail of the image they posted.
This is happening because of https://github.com/designcreateplay/NodeBB/blob/master/src/posts.js#L227.
That strips all html tags from the recent replies. Maybe we can change it to remove only the tags we don't want. Then images would show up in recent replies. Gotto add
img-responsiveto them too.
I am not sure about the full list of tags that we should remove though? @julian?
I think it would be a whitelist rather than a blacklist. People get up to all sorts of trouble when you only have a blacklist
Problem is string.js takes in a list of tags to strip not a list of tags to exclude from the strip.
If i use any embed plugin i still get the html in the recent replies. I second chris' idea if it can be done.