diff options
author | corvid <devnull@localhost> | 2014-08-05 20:29:18 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2014-08-05 20:29:18 +0000 |
commit | 744f32e29334a6de4d668a4ed1025be2a0407419 (patch) | |
tree | 908cf5093218cb20564334c17d8642aaca613822 /src/html.cc | |
parent | 21b46c5dd89ee6fdef16ce00c0b745064bb9464d (diff) |
bug msg
'' (empty string) resembled " (double quotes) too strongly.
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc index e9d3fcf8..036f1290 100644 --- a/src/html.cc +++ b/src/html.cc @@ -1530,7 +1530,7 @@ static int bool valid = *val && !strchr(val, ' '); if (!valid) { - BUG_MSG("'%s' value '%s' must not be empty and must not contain " + BUG_MSG("'%s' value \"%s\" must not be empty and must not contain " "spaces.", attrname, val); } return valid ? 1 : 0; @@ -1542,7 +1542,7 @@ static int break; if (val[i] || !(isascii(val[0]) && isalpha(val[0]))) - BUG_MSG("%s attribute value '%s' is not of the form " + BUG_MSG("%s attribute value \"%s\" is not of the form " "'[A-Za-z][A-Za-z0-9:_.-]*'.", attrname, val); return !(val[i]); |