In Drupal6, I have a WYSIWYG input filter with the HTML Corrector filter enabled. When the body is automatically truncated for use in the teaser, sometimes the break occurs in the middle of an attribute value in an HTML tag (e.g. in the middle of the url in an anchor's href), resulting in an unclosed quotation mark. The HTML corrector appears to balance the unclosed tags appropriate, but it doesn't close the quotation mark.
For example, if my content body is the following one:
<ul>
<li><a href="http://google.com">google.com</a></li>
</ul>
The teaser breaks in the middle of the URL:
<ul>
<li><a href="http://goog
Then the tags are closed but no closing quote or the end of the opening tag:
<ul>
<li><a href="http://goog </a></li>
</ul>
The result is a broken theme. Am I doing anything wrong? Is there anything that is mis-configured?