2018-04-11, 06:47 AM
Seems that at some point an update to the parser has broken some of my custom MyCode.
Replacement:
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.
\[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.