It looks like you're new here. If you want to get involved, click one of these buttons!
Well, I tried putting $Configuration['Garden']['InputFormatter'] = 'none'; into the config.php and now html tags are stripped out of my text. I do not know if that's what you are looking for, but at least it is not possible to use them anymore. Negative side effects are loss of automatic formatting of links and embedding of videos.
Answers
I think there was an option in the conf/config.php to enable/disable specific markups/parsers, but I can not find it right now. You can try the option
$Configuration['Garden']['InputFormatter']though; The default value is'Html'but I do not know what other values can be used.- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks, still looking for a solution.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It worked, thanks a lot :) Actually its my brand new forum, so there's no loss of formatting of links and embedding of videos.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Just for knowledge, could you tell me in short what's the use of HTMLawed? And where can i find the list of hidden variables like InputFormatter which are absent in default config.php?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •htmlLawed makes raw html input insert-able, and when properly configured it will sanitize of any security nasties.
Have you looked in the config-defualt.php?
$Configuration['Garden']['InputFormatter']is there last time I checked (don't edit this directly)Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •do NOT edit config-defaults.php at all. just add the line in config.php.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •I tried this but the html still loads, any ideas?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •