Skip to content

Commit

Permalink
ignore <script ... />
Browse files Browse the repository at this point in the history
  • Loading branch information
shinh authored and macks committed Mar 14, 2011
1 parent d21afe4 commit 421c186
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parsetagx.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ parse_tag(char **s, int internal)
/* Parse tag arguments */
SKIP_BLANKS(q);
while (1) {
Str value = NULL, value_tmp = NULL;
Str value = NULL, value_tmp = NULL;
if (*q == '/' && tag_id == HTML_SCRIPT) return NULL;
if (*q == '>' || *q == '\0')
goto done_parse_tag;
p = attrname;
Expand Down

0 comments on commit 421c186

Please sign in to comment.