开发者

Wordpress - Consecutive Nested Shortcode Execution Fails Without Line Breaks

If I have multiple items nested at the same level, such as a list and a enter it as such into the content of the page:

[list]
    [list_item]My Item[/list_item]
    [list_i开发者_Go百科tem]My Item[/list_item]
    [list_item]My Item[/list_item]
[/list]

It renders fine. If I do the same and format it like this:

[list][list_item]My Item[/list_item][list_item]My Item[/list_item][list_item]My Item[/list_item][/list]

Every second list_item doesn't render properly. Does anyone know why this is and how to fix it?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜