lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken link rewriting in snippets


From: Reinhold Kainhofer
Subject: Broken link rewriting in snippets
Date: Sun, 10 Aug 2008 14:36:04 +0200
User-agent: KMail/1.9.9

Hi John,
The www-post script has another bug with link rewriting: For the snippets 
pages, it checks and replaces links using the regexp:
       r'href="(?:\.\./)?lilypond(|-internals|-learning|-program)'
Unfortunately, "lilypond-snippets-big-page.html" also matches this regexp, so 
internal links in the snippets pages are also rewritten to point to 
Documentation/user/!

Attached is a patch to fix this: I have to explicity add -snippets to the 
regexp and can only later on exclude those matches in a replacement function.

Okay to push to master?

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/

Attachment: 0001-Fix-link-rewriting-for-snippets.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]