links not working in the PDF with upper/lower case spelling error

Bug #890873 reported by Reto Knaak on 2011-11-15
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chm2pdf
Unknown
Unknown
chm2pdf (Ubuntu)
High
Unassigned

Bug Description

In my application some links are not working in the PDF as I have some upper/lower case errors in links. As CHM is "windows stuff" this doesen't matter there, but "here" it does!

So how about making the 1. pass matching case insensitive adding the (?i) modifier in the regular expression?

Steve Stalcup (vorian) on 2011-11-16
Changed in chm2pdf (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Reto Knaak (reto-knaak) wrote :

This is the first time I try to generate a patch... hope this is correct!

- added (?i) modifier to make a case insensitive match for not breaking working links on windows in CHM files
- added " to the match criteria to avoid wrong match (eg this.htm matched also do_this.htm before)

The attachment "links case insensitive patch" 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
Yo (yleduc) on 2015-04-12
Changed in chm2pdf (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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