no effort is done in chm2pdf to delete javascript
Bug #890878 reported by
Reto Knaak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chm2pdf |
Unknown
|
Unknown
|
|||
chm2pdf (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
My CHM file contained some javascript which caused ERR011 error messages by htmldoc.
No effort is done in chm2pdf to delete javascript (some other unwanted stuff is deleted before passing all to the htmldoc part).
I am no expert of regex, so the following may not be a good and complete solution, but at least in my case one ERR011 is gone!
# Delete javascript (<script type='text/
page=
Related branches
Changed in chm2pdf (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
This is the first time I try to generate a patch... hope this is correct!
- added a regex to delete javascript: (?i)<script[ ^>]*>(. *?)</script>