diff --git a/backend/svg.c b/backend/svg.c index 28e8da6a..ccdf7791 100644 --- a/backend/svg.c +++ b/backend/svg.c @@ -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; } }