diff options
Diffstat (limited to 'src/libhtml/lex.c')
-rw-r--r-- | src/libhtml/lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libhtml/lex.c b/src/libhtml/lex.c index 258807dd..49c5f502 100644 --- a/src/libhtml/lex.c +++ b/src/libhtml/lex.c @@ -31,11 +31,11 @@ Rune **tagnames; char *_tagnames[] = { " ", "!", - "a", + "a", "abbr", "acronym", "address", - "applet", + "applet", "area", "b", "base", @@ -614,7 +614,7 @@ buftostr(Rune* s, Rune* buf, int j) buf[j] = 0; if(s == nil) tmp = _Strndup(buf, j); - else + else tmp = _Strdup2(s, buf); free(s); return tmp; |