HTML Conversation adds carriage return in middle of HTML tag

  • Hi
    I am having to format a lot data in SQL DB that is outputing to RTF via a mail merge field. Sometimes we then need to send this via email.

    When we convert to html we are getting a html tag or word cut in half by a carriage return.

    When source is viewed in note pad this always happens at column 991.

    when viewed in the email you see the broken tags or a space in the middle of a word, dependent on what is at the 991 location.

    Below is an example HTML output cut in the middle of the word SEM

    Code
    <div style="line-height:115%;margin-bottom:0.14in;"><font face="Courier New" size=1><br/> <br/>Certificate in Early Years Education <br/> <br/>| 																	&nbsp;FINAL DATES FOR WITHDRAWAL <br/>| 													&nbsp;&nbsp;START 		WITHOUT <br/>SE
     M [/color]&nbsp;&nbsp;PAPER &nbsp;&nbsp;TITLE 						&nbsp;LOC &nbsp;MODE DATE &nbsp;&nbsp;CREDITS REFUND 	&nbsp;ACADEMIC PENALTY <br/>1102 &nbsp;159356 &nbsp;Software Engineering C 		&nbsp;PNTH &nbsp;I &nbsp;18/07/2011 &nbsp;15 &nbsp;17/10/2011 &nbsp;01/08/2011 <br/>1101 &nbsp;254101 &nbsp;An Intro Soc &amp; Cult Stud in Ed &nbsp;PNTH &nbsp;E &nbsp;28/02/2011 &nbsp;15 &nbsp;27/05/2011 &nbsp;14/03/2011 <br/>1102 &nbsp;265289* Lrng &amp; Dev &amp; the EY Curric 	&nbsp;PNTH &nbsp;E &nbsp;18/07/2011 &nbsp;15 &nbsp;17/10/2011 &nbsp;01/08/2011 </font></div>
    <div>

    Using 4.06.2007 V5.0 Release 24.1 for D7

  • Hi
    Very sorry to waste your time with this. I have found that the email process is chopping the html not your html conversion.

    I a have added a fix that adds a #13#10 after the next ; when the line is grater than 500 char.

    Once again sorry to waste your time.

    Regards
    Jeff