another broken link issue

Bug #890882 reported by Reto Knaak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chm2pdf (Ubuntu)
Confirmed
High
Unassigned

Bug Description

In my CHM I have this link <a href="HW_overview.htm">Overview of HW</a>
which becomes <a href="HW_temp0003.html">Overview of HW</a>
because match overview\.htm and replace it with temp0003_html
but should be match HW_overview\.htm and replace it with temp0081_html

Again a regex problem! In the #Substitutions in 1st pass i modified the regex like this to fix this by adding ":

page = re.sub('(?i)"'+match_string, '"'+replace_string, page)

Tags: patch
Steve Stalcup (vorian)
Changed in chm2pdf (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
Reto Knaak (reto-knaak) wrote :

The same patch of

https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/890873

fixes also this one (same regular expression)

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "chm2pdf_links_case_insensitive.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.