[ 
https://issues.apache.org/jira/browse/JSPWIKI-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033928#comment-18033928
 ] 

Alex O'Ree commented on JSPWIKI-1065:
-------------------------------------

confirmed that this is a problem. the root problem is that the TOC plugin is 
just parsing the current page, where as the insert directive/plugin is a plug. 
The parse step doesn't do any plugin execution unfortunately.

We could have the TOC plugin call the render page operation, but that'll cause 
an infinite loop.

looking at the code base, it's not clear how to resolve this. there's a boat 
load of abstractions

> Inserted page content is not included in table of contents
> ----------------------------------------------------------
>
>                 Key: JSPWIKI-1065
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1065
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Harvey Echain
>            Priority: Minor
>
> Given this:
> [{TableOfContents}]
> [{InsertPage page="MyPage"}]
>  
> The heading titles of MyPage are not included within the table of contents, 
> which is not the expected behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to