The following page content creates a link to a local anchor on the current page:

<p>This is a <a href="#local">local link</a></p>
<p><a name="local" id="local"></a>links here.</p>

This works fine in the normal view, but is mangled by "printer-friendly version" to http://www.example.com/#local

Comments

telcontar’s picture

This is because of the use of the <base> element in theme_book_export_html(). Is this still necessary?

LAsan’s picture

Still an issue?

dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the time elapsed between now and the last comment plus the fact that D5 is no longer supported, I am closing this ticket.

BeMathis’s picture

DIgging this issue out of the bowels because I am currently wrestling with this exact issue. Printer friendly pages should not have a tag :(

BTW, I'm currently on drupal 6