Difference: TestCaseAutoTOC ( vs. 1)

Revision 12021-01-06 - TWikiGuest

Line: 1 to 1
Added:
>
>
Description: tests for TOCs included from other topics and with funny deprecated syntaxes.

This test also demonstrates that redundant anchor names (either specified in TML syntax or generated using the makeUniqueAnchorName() subroutine in Render.pm) now get renamed automatically; currently, this is actually done twice (once for TOC and once for the topic contents), yet all references must be in sync at any time.
For details cf. TWiki:Codev/FixAnchorHandling, TWikibug:Item1607

run this test

Designed by: Crawford Currie
Modified by: Markus Ueberall (documented anchor name handling)

ExpectedActual
<-- expected expand rex -->
<-- /expected -->
<-- actual -->
<-- /actual -->
<-- expected expand rex wine -->
<-- /expected -->
<-- actual -->
<-- /actual -->

Ignore me H1

Ignore me as well heading

H1
<--1-->

Some text

H2

Some more text

H1
<--2-->

text

H2

The rest

Ignore me H1

Don't ignore except this

hash H1

Some text

H2

Some more text

hash H1

text

normal H2

notoc H3

The rest

#!! Ignore me H1 ####%NOTOC% Ignore me as well heading # space H1 Some text ## H2 Some more text # H1 text

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback