Kodi Community Forum

Full Version: Issue displaying quotes (single or double) in add-on dialog box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an add-on that displays a modal dialog box containing text. This text is pulled from a .txt file on my server.

Everything displays as expected, with the exception of single (') and double (") quotation marks. Is there a way that I can escape these special characters within the .txt file itself so that they display within the Kodi add-on dialog window?
not sure if it'll work but try ' and "
(2015-10-22, 00:20)ronie Wrote: [ -> ]not sure if it'll work but try ' and "

If that doesn't work, try escaping the single or double quote with the backslash.
I was able to get around this by escaping the problem text. Thanks Chris and Ronie!