Mercurial Hosting > luan
changeset 1835:0288edd8f99b
html fix
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 17 Jan 2025 20:29:43 -0700 |
parents | 4ec3fd9e3999 |
children | e4440c286af6 |
files | src/goodjava/html/Html.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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() )