You are here: Foswiki>Tasks Web>Item13463 (05 Jul 2015, GeorgeClark)Edit Attach

Item13463: TOC is not respecting ho tags inserted by INCLUDE

pencil
Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component:
Branches: master
Reported By: CrawfordCurrie
Waiting For:
Last Change By: GeorgeClark
<ho> pseudo-tags are inserted by INCLUDE when the headingoffset parameter is used.

TOC is not respecting those tags, so is treating all headings in included topics as being at the wrong level.

To test this:, generate two topics. First, IncludedTopic should contain
---+ Included heading
Then, IncludingTopic should contain:
%TOC%
---+ Including heading
%INCLUDE{"IncludedTopic" headingoffset="1"}%
The heading in the included topic should appear in the TOC as a sub-heading below the Incliding heading.

I have a fix.

-- CrawfordCurrie - 18 Jun 2015

 

ItemTemplate edit

Summary TOC is not respecting ho tags inserted by INCLUDE
ReportedBy CrawfordCurrie
Codebase 1.2.0 beta2
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:1d404a9a038f
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:1d404a9a038f
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 05 Jul 2015, GeorgeClark - This page was cached on 27 Jul 2016 - 17:23.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License