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


\[paste\](?:http|https):\/\/(?:www\.)?pastebin\.com\/([a-zA-Z0-9]{8})\[\/paste\]


Replacement:

<script type="text/javascript" src="//pastebin.com/embed_js/$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.
Reply


Messages In This Thread
Custom Mycode URL Problem - by labrocca - 2018-04-11, 06:47 AM
RE: Custom Mycode URL Problem - by .m. - 2018-04-11, 07:00 AM
RE: Custom Mycode URL Problem - by labrocca - 2018-04-11, 07:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)