#127 Incorrect attribute value gives unexpected results

v1.0_(example)
open
nobody
None
5
2013-04-24
2013-04-24
index
No

Please notice how title attribute of first A element ends.

<?php
    include('simple_html_dom.php');

    $html = <<<END
    <a href='#' title='title text ending with\'>05 march 2013</a>
    <ul class='css_class'>
        <li>
            <a href='#' title='simple title text'>22 march 2012</a>
        </li>
    </ul>
END;

    $html = str_get_html($html);

    foreach($html->find('a') as $e) {
        echo $e->innertext . "\n\n";
    }
?>

Discussion