Bob,
It turns out that it was an issue with the Safari developer tools source
viewer and a stale CSS stylesheet. The source viewer was showing the
anchors enclosing most paragraphs, but when viewed in a plain text
editor they were as expected <a id=""></a>.
Cheers,
Eric
On 01/14/2013 04:39 PM, Bob Stayton wrote:
Hi Eric,
That does not sound right. It is not the default behavior of the
XHTML stylesheet to wrap every para in an anchor tag. Most named
anchors are empty elements. Although they may be rendered with opening
and closing tags by some processors, they have no content, and
certainly not a whole para. Can you provide more details of exactly
which stylesheet and version you are using, and whether a
customization layer is involved?
Bob Stayton
Sagehill Enterprises
[email protected]
--------------------------------------------------
From: "Eric Johnson" <[email protected]>
Sent: Monday, January 14, 2013 1:27 PM
To: <[email protected]>
Subject: [docbook-apps] Anchors Everywhere
Is there an easy way to limit the number of anchor tags that are
generated in the XHTML output? Or to just have the anchor tags
generated as empty elements that do not wrap the text?
It looks like nearly every p element has an a element that encloses
the actual text. In Safari that is causing hover text to appear
regardless of where the cursor stops. It is also hard to deal with
CSS that includes styling for a:hover since pretty much everything is
inside an a element.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]