mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-25 04:45:58 +00:00
Further refinement to SVG
More research revealed frasl entity should not be implemented, but apos should Thanks to Ian Jeffray
This commit is contained in:
@@ -71,9 +71,9 @@ void make_html_friendly(unsigned char * string, char * html_version) {
|
|||||||
html_pos += 6;
|
html_pos += 6;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '/':
|
case '\'':
|
||||||
strcat(html_version, "⁄");
|
strcat(html_version, "'");
|
||||||
html_pos += 7;
|
html_pos += 6;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -105,8 +105,8 @@ int svg_plot(struct zint_symbol *symbol) {
|
|||||||
case '<':
|
case '<':
|
||||||
case '"':
|
case '"':
|
||||||
case '&':
|
case '&':
|
||||||
case '/':
|
case '\'':
|
||||||
html_len += 7;
|
html_len += 6;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user