| Author |  | 
      
        | gdegoulet2 Newbie
 
  
 
 Joined: 12 April 2011
 Location: France
 Online Status: Offline
 Posts: 8
 | 
          when your message is :
           | Posted: 12 April 2011 at 1:08am | IP Logged |   |  
           | 
 |  --
 test
 test
 test
 --
 the html text send is  "<html><body>test<div>test</div>< div>test</div>
 <div>test</div></body></ht=ml>"
 put the plain/text text after convert is "testtesttest"
 there is a little bug in libs/class_converthtml.php
 we need to add \n before <div> tags before the striptags
 in function _convert() , add after "$text = preg_replace($this->search, $this-
 >replace, $text);"
 
 $text=str_replace("<div>","\n<div>",$text);
 
 so your plain/text Part will be "human readeable" :)
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Thanks for your feedback! I have reproduced the issue and will let developers know of it.
           | Posted: 12 April 2011 at 2:07am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | gdegoulet2 Newbie
 
  
 
 Joined: 12 April 2011
 Location: France
 Online Status: Offline
 Posts: 8
 | 
          to get the patch
           | Posted: 12 April 2011 at 5:23am | IP Logged |   |  
           | 
 |  class_converthtml.php.pa
 tch
 | 
       
        | Back to Top |       | 
       
       
        |  |