Added support for self closing tags.
XHTML requires self closing tags to be used for empty tags, so we need to recognize them.
This commit is contained in:
parent
374c89be01
commit
d5d646528e
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ find_tag(char *tag)
|
|||
do {
|
||||
tagc = tag[i];
|
||||
|
||||
if(tagc == 0 &&
|
||||
if((tagc == 0 || tagc == ISO_slash) &&
|
||||
tags[first][i] == 0) {
|
||||
return first;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue