- From: Etienne SOBOLE <e.sobole@webshaker.net>
- Date: Tue, 27 May 2014 15:04:37 GMT
- To: html-tidy@w3.org
Received on Wednesday, 28 May 2014 08:21:48 UTC
Hi. I'm using tidy and the PHP to clean received mails I'm using this code. $tidy_config = array( 'output-xhtml' => true, 'show-body-only' => true, 'wrap' => 0, ); $tidy = tidy_parse_string($html, $tidy_config, 'UTF8'); $tidy->cleanRepair(); But tidy remove some usefull breakline (displayed as space). If I try to clean this code: <span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:FR">Nathalie LESUEUR<o:p></o:p></span> I will just have NathalieLESUEUR The space between Nathalie and LESUEUR have bee removed. How can I keep the space or the breakline of the original code ? Thank's Etienne SOBOLE
Received on Wednesday, 28 May 2014 08:21:48 UTC