Hi,
I am currently receiving an error when trying to convert free text from a paragraph into an html, simply because the single apostrophe (') does not convert to a special character when trying to create html formats used to create a microsoft document and convert it to pdf. The document either shows the escape character of ' or we receive an exception error in the process model. I am using the smart service Configure DocX From Dynamic Template. I have been using the toHtml() function to convert all text into html format, but only receive this error for sing apostrophes. Any help would be useful. Thank you.
Discussion posts and replies are publicly visible
Why don't you use a regular expression for converting the apostrophe into a blank space for example?
I am generating a report, and the client deems apostrophe usage as a necessity.
And what if you scape the character¿? I mean, find the character and replace it with '
Anyway, check this link where you can find about a solution about this issue
community.appian.com/.../how-to-handle-special-character-in-xml-document
Scraping the apostrophe's removes the error, but you cannot control a client/user from using grammer with apostrophes. It messes up most user input from the client, and makes their input hard to read.
Yes, but I was not talking about eliminating them, but about escaping them in a way that is understandable by any interpreter, and does not cause errors in the execution.