NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can only create new topics. Any topics you do create that are not checked into subversion may be deleted by anyone, at any time.
Tags:
create new tag
view all tags
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

Ignore me H1

Ignore me as well heading

H1

Some text

H2

Some more text

H1

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

Topic revision: r0 - 2005-03-27 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback