Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Allowed HTML Tags
Is it possible to configure which html tags are allowed and which are not?
I really don't wan't my users to use h1 tags, tables and all that stuff.
I really don't wan't my users to use h1 tags, tables and all that stuff.
Tagged:
0
This discussion has been closed.
Comments
http://premiumsoftware.net/cleditor/docs/GettingStarted.html
There was an error rendering this rich post.
If you want to disallow h1 tag or anything else, go to the /plugins/htmlawed/class.htmlawed.plugin.php.
search for line 45 around, replace: with:
'elements' => '*-applet-form-input-textarea-iframe-script-style-h1', // object, embed allowed
See plugins/htmlawed/htmLawed/htmLawed_README.htm for details.Htmlawed plugin is hidden in Vanilla, and I do not see mentioning of it anywhere in docs for users.
I think that it needs normal settings in dashboard with ability to define tag.
And even better is ability to remove such plagin and add necessary functions to the core functionality of Vanilla.
Found this related discussion about html purifier: http://vanillaforums.org/discussion/10832/preventing-html-in-comments ...
So what I'm going to do now is checking BBCode (don't like it) as input format and trying out cleditor (configure html, cross browser support).
And I am talking about such approach that you'll be able to replace necessary text field processor in plugin as you do with views today.