Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
1834:4ec3fd9e3999 | 1835:0288edd8f99b |
---|---|
196 int end; | 196 int end; |
197 while(true) { | 197 while(true) { |
198 if( parser.test('<') ) { | 198 if( parser.test('<') ) { |
199 end = parser.currentIndex(); | 199 end = parser.currentIndex(); |
200 Tag tag2 = parseTag(); | 200 Tag tag2 = parseTag(); |
201 if( tag2.name.equals(endTagName) ) | 201 if( tag2!=null && tag2.name.equals(endTagName) ) |
202 break; | 202 break; |
203 } | 203 } |
204 if( !parser.anyChar() ) | 204 if( !parser.anyChar() ) |
205 return parser.failure(null); | 205 return parser.failure(null); |
206 } | 206 } |