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.
Options

MarkDown and BBCode only

alan0209alan0209 New
edited September 2014 in Vanilla 2.0 - 2.8

Sorry for the newbie question but if I set the InputFormatter to 'Markdown' in my config file should I still be able to post html into the editor and have it render?

$Configuration`['Garden']['InputFormatter']                      = 'Markdown';

At the moment I can still post html code in and I would like to prevent this. I have editied the following as well but still seem able to post all html codes.

$Configuration['Garden']['Html']['SafeStyles']                  = TRUE;
$Configuration['Garden']['Html']['AllowedElements']             = "b";

I've tried looking for the answer in these discussions but just seem to be getting more confused :blush: Quite a few refer to a plugin called HtmLawed which isn't showing in my list of plugins but does appear in my plugins folder and in my config file as...

$Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';

Ultimately in addition to the MarkDown I would like to use the MathJaxCDN plugin which I think uses BBCode.

Thanks a lot

Alan

Comments

Sign In or Register to comment.