OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Anchors Everywhere


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
bobs@sagehill.net

--------------------------------------------------
From: "Eric Johnson" <ejohnson@redhat.com>
Sent: Monday, January 14, 2013 1:27 PM
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]