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

little bug html formatter

i just noticed on my forum that there is a problem when using << and [< in the code.
Example: when i give this as input: << <u>4</u> >> it shows me this after submit:
<< <u>4 >> instead of underlining the 4
A single < is no problem.
The same happens with this: [<] <u>4</u> [>]
It displays after submit: [<] <u>4 [>] instead of underlining the 4
is there a way to fix this? Ofcourse i can change my input formatter but i prefer not to do it

Tagged:

Comments

  • Options

    what version of the 2.1 what formatter? thanks

    grep is your friend.

  • Options
    jackmaessenjackmaessen ✭✭✭
    edited March 2015

    2.1.9
    I am using buttonbar only with html as input formatter
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed
    $Configuration['Garden']['InputFormatter'] = 'Html';

  • Options
    x00x00 MVP
    edited March 2015

    I suspect it will be left that way, to do it correctly in html anyway is

    &lt;&lt; <u>4</u> &gt;&gt;

    << 4 >>

    You should not use angle brackets in html except for tags. it supposed to convert valid html to safe html, invalid html it can do what it likes with, so long as it is safe html.

    grep is your friend.

  • Options

    oke, i see..

Sign In or Register to comment.