--- a/tests.js Fri Aug 05 14:45:56 2011 -0600
+++ b/tests.js Fri Aug 05 15:45:17 2011 -0600
@@ -1154,8 +1154,19 @@
'<p>foo[]</p><br><br><p>bar</p>',
'<p>foo[]</p><img src=/img/lion.svg><p>bar',
'foo[]<img src=/img/lion.svg>bar',
+
+ 'foo[]<a>bar</a>',
+ 'foo[]<a href=/>bar</a>',
+ 'foo[]<a name=abc>bar</a>',
+ 'foo[]<a href=/ name=abc>bar</a>',
+ 'foo[]<span><a>bar</a></span>',
+ 'foo[]<span><a href=/>bar</a></span>',
+ 'foo[]<span><a name=abc>bar</a></span>',
+ 'foo[]<span><a href=/ name=abc>bar</a></span>',
+ '<a>foo[]</a>bar',
'<a href=/>foo[]</a>bar',
- 'foo[]<a href=/>bar</a>',
+ '<a name=abc>foo[]</a>bar',
+ '<a href=/ name=abc>foo[]</a>bar',
'foo[] bar',
'foo[] bar',