Description
a tags followed by a dot character cause the text following the dot to be omitted from the result.
Cases
Working as expected:
Consider this input:
<p>
The quick brown fox <a href="#">jumps</a> over the lazy dog.
</p>
The output is, as expected:
%p
The quick brown fox
%a{:href => "#"} jumps
over the lazy dog.
Bug:
But if a dot follows the a element, as in the following input:
<p>
The quick brown fox <a href="#">jumps</a>. Over the lazy dog.
</p>
The output is missing everything after the dot:
%p
The quick brown fox
= succeed "." do
%a{:href => "#"} jumps
Additional information
html2haml --version
html2haml 2.2.0