Thread
:
Processing remove_javascript
View Single Post
04-23-2013, 11:10 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,399
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The reason it is implemented the way it is, is that some recipes need to parse the javascript to get print urls or other info out, so the script tags must be removed only after preprocessing. Changing it would break those recipes.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS