mainPost content strip HTML
-
Is there a way to do this?
-
I figured you could do this the same as this
category.description = validator.escape(category.description);
When I comment this out, it allows the parsing of HTML in category descriptions.
I would like to do this because if you have plugins such as the YouTube Lite, or a bunch of images, it shows all of that when you have
mainPost.content
implemented in your template. Looks messy.
Copyright © 2024 NodeBB | Contributors