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
This bug is related to shortcode replacement logic - if the length of the replacements is greater than the length of the input string then replacements are applied only up to the input string's length. I fixed this bug by recalculating text length after each replacement. You can see it in the latest master commit d1bfba4 . I'll tag v0.6.1 after Travis will confirm that master is green.
Hi,
I'm having a problem with this amazing library. I use the shortcodes for really big replaces (Tables, imgs, etc).
The code: http://pastebin.com/NGWtVa4x (I couldn't insert in github with format)
The output: http://pastebin.com/27dQxrcL
As you can see, only works fine in the first shortcode. The second only first line. And , if you append more shortcodes, ignore them.
What's going on? I'm using dev-master version in composer.
The text was updated successfully, but these errors were encountered: