newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
898 stars 146 forks source link

text fields containing '$' #43

Closed jrmychrstphr closed 7 years ago

jrmychrstphr commented 7 years ago

Exporting artwork with text elements that contain a dollar sign ($) character appear to have a bug, unless the text element ONLY contains the character.

The problem seems to remove the dollar sign character AND the very next character in the string, but not affect any other content.

I can resolve the issue by manually replacing each instance of '$' to '$', but am hoping there is a better way to fix it, without manual editting of text inside the .ai file.

I've set up a page showcasing the problem here.

Here's how each artboard in the .ai file that page is out put from looks: image

Any help would be hugely appreciated.

mbloch commented 7 years ago

This issue is fixed in ai2html-beta.js. The fix will be included in the upcoming 0.64 release.