Mercurial Hosting > luan
diff src/goodjava/html/Html.java @ 1835:0288edd8f99b
html fix
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 17 Jan 2025 20:29:43 -0700 |
parents | a045f30fa67d |
children |
line wrap: on
line diff
--- a/src/goodjava/html/Html.java Thu Jan 09 18:06:23 2025 -0700 +++ b/src/goodjava/html/Html.java Fri Jan 17 20:29:43 2025 -0700 @@ -198,7 +198,7 @@ if( parser.test('<') ) { end = parser.currentIndex(); Tag tag2 = parseTag(); - if( tag2.name.equals(endTagName) ) + if( tag2!=null && tag2.name.equals(endTagName) ) break; } if( !parser.anyChar() )