Stream: committers
Topic: Using headings in page content
David Hay (Jun 03 2020 at 22:34):
If I create page content using an XML file, and create headings like <h3>My heading</h3>. then the anchor link that is created seems to include the content that follows the heading. Is there a specific way to do this? The problem does not appear using markdown - eg ### My Heading works fine
Lloyd McKenzie (Jun 03 2020 at 23:16):
The anchor name that appears before the heading needs to have a space inside it. I.e.
<a name="foo"> </a><!-- Note the space between start and end tags -->
<h3>My heading</h3>
<p>Some stuff</p>
David Hay (Jun 04 2020 at 00:11):
I was just putting in the heading - so I need to explicitly add the anchor tag?
Lloyd McKenzie (Jun 04 2020 at 03:55):
y
David Hay (Jun 04 2020 at 04:49):
ta
Last updated: Apr 12 2022 at 19:14 UTC