When trying to include a page with special characters I get an error:
Unable to render {include} The included page could not be found.
For instance using the include macro to include a page titled: Special Character Test :"<>?,./;'[]{}!@#$%^&*()_+=-\][
will not render.
We ran into this problem, too, so I did as CharlesH mentioned and wrote a user macro to include a page based on the page ID. Maybe it will also be helpful for someone else who could not yet upgrade to 5.5.
## @param PageToInclude:title=Page ID of page to include|type=string|required=true #set ( $Long = $generalUtil.getSystemStartupTime() ) #set ( $pageId = $Long.parseLong($paramPageToInclude) ) #set ( $page = $pageManager.getPage($pageId) ) #set ( $pageContent = "Page not Found" ) #set ( $pageContent = $page.getBodyAsString() ) $pageContent
This issue is resolved in Confluence 5.5: https://jira.atlassian.com/browse/CONF-24785
Great news!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doubled check on this and it seems to be a limitation of include page macro. However, the above suggestion might be possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.