I want to use the script tags in posts, but it doesn't work. Tried replacing the script tags using MyCode, and it worked in the Test Value, but when I use it in the post it just parses the script without including the closing tag.
Any ideas? Thanks.
You have to use a plugin because of how the parser works. I belive using parse_message_end as the hook would be the appropriate way to do this.
(2015-10-24, 01:04 PM)dragonexpert Wrote: [ -> ]You have to use a plugin because of how the parser works. I belive using parse_message_end as the hook would be the appropriate way to do this.
Is there any plugin for this?
EDIT: Actually I managed to make my own plugin for this. Thanks for the tip.
wanna share or show us how?
This is not a bug. <script> is disabled for obvious security reasons.
As for MyCodes - there's a known bug, <br />s are incorrectrly added inside <script> tags, it will be fixed.