getgrav / getgrav/grav-plugin-shortcode-core
Nested shortcodes broken in flex objects content
Open
- Dominant language
- PHP
- Stars
- 47
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
My setup renders flex objects that have markdown content. The template looks like this
```twig
{{ object.markdown|shortcodes|markdown|raw }}
```
The following markdown
```markdown
[div]
[div]
*test*
[/div]
[/div]
```
renders like this:
```html
*test*
[/div]
```
Using the same markdown in the page content (not the flex object) it produces the correct/expected output:
```html
test
```
The parser is set to `regular` like suggested here: https://github.com/getgrav/grav-plugin-shortcode-core/issues/67#issuecomment-506149407
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.