Custom Mycode URL Problem
Seems that at some point an update to the parser has broken some of my custom MyCode.



<script type="text/javascript" src="//$1"></script>

Unfortunately it seems that it gets parsed as a URL despite it being custom MyCode.  

I seen some Github reports and tried to use the latest class_parser.php to my test site but still no good. I tried also to change parse order.

This worked before. Unsure when it broke.

I thought custom MyCode overwrote any default parsing?

Please advise. This is going to effect a few of my custom MyCodes as well as everyone else with a MyBB forum.
IIRC, Script replacement for MyCode was removed in a recent version of MyBB ..
Unsure what you're saying?

This is related to auto_url_mycode().

I can do SCRIPT fine. The replacement works. It's that the URL from the mycode regex doesn't work.


Just an example that's easier to under which doesn't work.




I went through the github changes. This is last working version in Oct 2017 :

This commit broke it:

Forum Jump:

Users browsing this thread: 1 Guest(s)