# Html email generated by php -- having weird breaks

**URL:** <https://forum.kirupa.com/t/html-email-generated-by-php-having-weird-breaks/249813>\
**Category:** Uncategorized\
**Created:** [January 22, 2008, 7:17pm UTC](https://forum.kirupa.com/t/html-email-generated-by-php-having-weird-breaks/249813 "2008-01-22T19:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![susancbk](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@susancbk](https://forum.kirupa.com/u/susancbk)\
**Post date:** [January 22, 2008, 7:17pm UTC](https://forum.kirupa.com/t/html-email-generated-by-php-having-weird-breaks/249813/1 "2008-01-22T19:17:27Z")

</div>

I’m generating an html with php …

here’s what the raw source of part of one of the emails :  
 ![](http://forum.kirupa.com/uploads/kirupa/4256/e0c627d6dd9d2a79.png)

occasionally, weird breaks get thrown in and will screw things up— as in this instance, it breaks the image cause it puts a break in its url (see orange arrow).

Anyone know how to prevent this?
