Skip to content

Commit

Permalink
fix for "RD" +- special character in SVGs
Browse files Browse the repository at this point in the history
  • Loading branch information
Spinelli committed Sep 22, 2016
1 parent 88dcb12 commit bd3fbfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/js/src/armyc2/c2sd/renderer/utilities/SVGTextInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ armyc2.c2sd.renderer.utilities.SVGTextInfo = function (text, anchorPoint, fontIn
text = text.replace(/\</g,"&lt;");
text = text.replace(/\</g,"&gt;");
text = text.replace(/\u2022/g,"&#x2022;")//echelon and ellipses dot
text = text.replace(/\u00B1/g,"&#x00B1;")//"RD" reinforce/reduced +- symbol

if(stroke)
{
Expand Down

0 comments on commit bd3fbfe

Please sign in to comment.