Fork me on GitHub

SafeHTML  Bottom

  • So, I modified pn_bbcode to now have what is basically a spoiler tag. It works fine when it is installed and safeHTML is turned off. However PHP file generates an HTML img tag that has javascript onmouseovers, onmouseouts and onclicks, and when safeHTML is turned on the filter removes those calls. Is there something I need to do when writing/editing modules so that safeHTML doesn't do this? If you want to look at the code to my updated pn_bbcode module that includes the spoiler tag (called a "hide" tag) get it here: http://www.paulromerproductions.com/bbcode_hide.zip
    The img tag is generated in the "modules/pn_bbcode/pninit.php" file.

This list is based on users active over the last 60 minutes.