mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-31 07:08:26 -04: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:
parent
1a5eb573cf
commit
fac9b94f1b
1 changed files with 5 additions and 5 deletions
|
@ -71,9 +71,9 @@ void make_html_friendly(unsigned char * string, char * html_version) {
|
|||
html_pos += 6;
|
||||
break;
|
||||
|
||||
case '/':
|
||||
strcat(html_version, "⁄");
|
||||
html_pos += 7;
|
||||
case '\'':
|
||||
strcat(html_version, "'");
|
||||
html_pos += 6;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -105,8 +105,8 @@ int svg_plot(struct zint_symbol *symbol) {
|
|||
case '<':
|
||||
case '"':
|
||||
case '&':
|
||||
case '/':
|
||||
html_len += 7;
|
||||
case '\'':
|
||||
html_len += 6;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue