appdaemon icon indicating copy to clipboard operation
appdaemon copied to clipboard

Error "missing ) after argument list" when widget html contains single quote

Open torkildr opened this issue 9 years ago • 0 comments

Because widgets are inlined with "gridster.add_widget", the browser throws an error if there's a single quote in the widget html. This is a problem if you want to do more complex knockout expressions.

As far as I can tell, it should be enough to just escape these explicitly, before inlining in the html.

torkildr avatar Aug 21 '17 17:08 torkildr