daem-on/wtherion

-text string truncated at apostrophe

CaverBruce opened this issue · 2 comments

Original th2 string
point -850.0 12038.0 remark -text "What's going on here?" -align tr -scale xs

Resultant th2 string
point -850 12038 remark -text What -scale xs -align tr

String is truncated and quotes removed.

@CaverBruce
Hi! I know these issues are old, and I haven't added any new features since the semester started, but I was hoping you could check that these resolved along with #9 and #7 because I fixed them a few months ago and the issues are still open. (Only the beta version has these changes)

Before the end of the year I'll hopefully have some time to make a stable release with these fixes and maybe declare whterion ready for use (add it to the therion wiki, etc.). Or at least get some more people to test it. But right now I'm still busy so no new features unless someone opens an issue.

Refer to #12 for an overview of this round of checking.
I don't have a point remark with an apostrophe in my current sample file, but I do have point label examples. Most/many are good, but there are some that are not.
Original th2
point 5069.5 8529.5 label -orientation 242.7 -text "hydromagnesite" -align tr -scale xs
Resultant WT th2 string
point 5069.5 8529.5 label -text "hydromagnesite" -scale xs -orientation 242.7 -align tr
That one is good

Original th2
point 5779.0 8775.0 label -text "squeeze over<br>formation" -scale xs
Resultant WT th2 string
point 5779 8775 label -text ""squeeze over<br>formation"" -scale xs