andyduke / styled_text_package

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.
https://pub.dev/packages/styled_text
BSD 3-Clause "New" or "Revised" License
75 stars 48 forks source link

How is an apostrophe to be placed in a StyledText? #3

Closed jbenman closed 4 years ago

jbenman commented 4 years ago

I might have a slightly strange use-case (storing lots of styled text strings as values in json files, so xml in a json file) but I can't seem to find a way to make apostrophes appear. This is true even when I run the example app and try to put a word with an apostrophe in one of the strings.

I've tried using the escape sequence: \' but this has no effect on the output (and would be incorrect when stored in a json file regardless). I've tried using \' and #39; but those are just output the way they appear. I also tried using double quotes around the strings and just using regular apostrophes, but those disappear too.

jaymacdonald67 commented 4 years ago

I am also having an issue using an apostrophe.

shredding commented 4 years ago

Any chance we can merge this soon?

shredding commented 4 years ago

Thx!

rdcoder33 commented 1 year ago

still apostrophe is not showing

shredding commented 1 year ago

Can you show your code? It needs to be written as "