- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 58 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - HTML Entered in Input Boxes Disappears [ ]
Author
Message
delectatus
Nuke Cadet
Joined: Jul 14, 2008
Posts: 8
Posted:
Sat Sep 06, 2008 4:53 pm
For example, when I edit block content that draws upon HTML entered in the block admin screen, I want to my <a> tags to have classes. But if I enter
Code:
<a href="this" class="that">something</a>
when I submit it, I'm left with
Code:
<a href="this">something</a>
How can I keep that class?
Thank you.
delectatus
Nuke Cadet
Joined: Jul 14, 2008
Posts: 8
Posted:
Wed Sep 10, 2008 6:56 am
Found the answer: modified the check_html() function in mainfile.php to only perform the html modifications if (! is_admin($admin)).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum