mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
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
@ -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 New Issue
Block a user