Trim extra whitespace when getting original text

I have a situation where I'm using a template to render html, then using trunk8 on the html.  In my html template:

```html
<div class='to-be-truncated'>
    {{insert_data_into_template}}
</div>
```

Note the newlines.  I did NOT have that whole div on one line.  Because of that, trunk8 inserted a tooltip with those extra newlines as well.  So, I trimmed out the extra newlines.  What do you guys think?