Escaping a shortcode within content of the same content will break the escape.
-
I have a simple plugin with a shortcode that generates a expandable content field. The shortcode is spelled out [exp]content[/exp]. When i try to escape the same shortcode within the content of the first one it will break. So if i write like this:
[exp]
[[exp]content[/exp]]
[/exp]it will run the shortcode and have “][/exp]” trailing.
Any suggestions as to what i can do?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Escaping a shortcode within content of the same content will break the escape.’ is closed to new replies.