You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jenstornell, thanks for using my library! Unfortunately, I am not able to reproduce this issue, so I need a little more context on your environment (OS, PHP version, Shortcode version). Can you provide such information?
I created a smallest composer.json with the latest Shortcode version (v0.6.5) { "require": { "thunderer/shortcode": "^0.6" } } and ran your script on PHP 5.6, 7.1, and 7.2. Each time I got a correct response with both shortcodes replaced.
Error
Maybe I'm missing a setting or something but I can't get the thing below to work properly:
The result will be:
Works
So when wrapping both shortcodes around a single div it will only parse the first one.
The strange thing is that this works:
(se full example above. I replaced the $text variable)
The result of the last test is:
The text was updated successfully, but these errors were encountered: