Skip to content

Conversation

@sdsalyer
Copy link

Hey there,

I ran into an issue where question marks in attribute values were causing a failure to parse shortcodes that contained them, e.g.

[mytag myattribute="What?"]

I traced this down to escapeTagRegExp failing to escape the question marks, so I added additional regex string escape characters as per https://stackoverflow.com/a/6969486.

Hope this helps, and thanks for shortcode.js !

…overflow.com/a/6969486) -- Question marks in attribute values were causing failure to parse the shortcodes, e.g. [mytag myattribute="What?"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant