[Rejected] Can't use script tags in posts
#1
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.
Reply
#2
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.
Reply
#3
(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.
Reply
#4
wanna share or show us how?
Reply
#5
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)