diff --git a/apps/webbrowser/htmlparser.c b/apps/webbrowser/htmlparser.c
index 20d74deeb..dc0914cb6 100644
--- a/apps/webbrowser/htmlparser.c
+++ b/apps/webbrowser/htmlparser.c
@@ -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;
}