Hi, how to escape shortcodes that are nested into other one. e.g. in the following codes i want to process first shortcode and not nested one.
[highlight]
[highlight]
highlighted text here.
[/highlight]
[/highlight]thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | shortcode-escape-1376836-4.png | 49.7 KB | denes.szabo |
Comments
Comment #1
denes.szabo commentedNice question, I have no idea. I will look into the code then maybe I can answer to you…
Comment #2
denes.szabo commentedI have a good news to you: I allowed escaped codes, if you duplicate the [] around the code then this code will be not parsed by the api - similar to the WP-s shortcode API.
So use your code this way:
I committed it to the dev version only. I am waiting for your opinion and test result!
Comment #3
dropletz commentedHi,
i check it under older versions also in dev version without any success!
Thanks.
Comment #4
denes.szabo commentedI tried it again with a clean drupal + shortcode-7.x-dev: I inserted the code I have given before. It was success on a first run:
Could you try it again?
Comment #5
denes.szabo commentedToday I committed a fix, it seems it solves your problem.