Fixed  ACP => option group description escaped

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
You've written that we're allowded to use html in the option groups- & options explantation.
Explanation:You may use HTML
BUT
this isn't working.

i've tried
Code:
<strong>strong</strong>
<ol>
<li>la</li>
<li>le</li>
</ol>
and there's no bold "strong" and no list.
It displays the complete html code
 

Attachments

  • bug01.webp
    bug01.webp
    6.3 KB · Views: 5
You've written that we're allowded to use html in the option groups- & options explantation.

BUT
this isn't working.

i've tried
Code:
<strong>strong</strong>
<ol>
<li>la</li>
<li>le</li>
</ol>
and there's no bold "strong" and no list.
It displays the complete html code

In option groups the <b>, <strong> etc appears in the list.
But in option descriptions it seems to work fine for me.
 
I've just fixed this. I've also removed the nl2br behavior that the group descriptions exhibited. This was mostly related to how it would be shown in the snippet, but I've changed the snippet to strip any HTML out as well, so it's not applicable. This is more consistent with the option descriptions.

It does mean that after upgrading, if you used the nl2br behavior, you might see a few group descriptions run together. Not the biggest issue. :)
 
Top Bottom