Line breaks disappear on printer-friendly pages

akahn - July 21, 2008 - 13:14
Project:HTML Purifier
Version:5.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there, my site uses HTML Purifier on the Filtered HTML input filter, which is the default. This works well, except on printer-friendly pages (using the Printer-friendly Pages module), where all paragraph breaks that are created by the line break filter are stripped out. To see this illustrated, look at http://www.freepress.net/node/42302 , and then that page's printer friendly version: http://www.freepress.net/node/42302/print . In the printer-friendly version, there are no paragraph breaks.

Any idea what's going on here? Is this a HTML Purifier issue or a Printer-friendly Pages issue? Thanks for any help on this.

#1

ezyang - July 10, 2009 - 00:08

Sorry about taking so long at looking at this. This sounds like a weird interaction between the two modules. Could you tell me what the input before and after HTML Purifier is in your use case?

 
 

Drupal is a registered trademark of Dries Buytaert.