- **status**: in-progress --> review
- **Comment**:

Closed #672. `ib/4771`

I have added comments and fixed the case when page includes file from a repo 
directly, but there's still a problem if you include a wiki page, which, in 
turn, includes a file from a repo. I managed to fix issues with the line 
numbers in that case, but not with file contents (code). It gets extra `<br>`'s 
which break layout. I've tried a lot of things to fix that, but nothing works.

Entire approach is very fragile... Any ideas on how to tackle it in more robust 
way and fix the issue with multi-level includes?



---

** [tickets:#4771] TOC macro doesn't add headers of included pages [ss246]**

**Status:** review
**Milestone:** unreleased
**Labels:** p3 support 42cc sf-current sf-2 
**Created:** Thu Aug 23, 2012 12:41 PM UTC by Chris Tsai
**Last Updated:** Thu Oct 30, 2014 04:58 PM UTC
**Owner:** Igor Bondarenko

[forge:site-support:#246]

>On the page above there is a table of contents just underneath the Versions 
>Heading, and then each of the headings after that are included from seperate 
>pages per version. I would expect that the table of contents to display the 
>headings from the included pages as well as the headings from the current 
>page. This does not happen.

>It may just be me not quite understanding it, however it would be nice to have

I've put together a page demonstrating this here: 
https://sourceforge.net/p/strawhat/wiki/top/


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to