single quotes in query
-
I want to insert a graph in my woocommerce page, it works just fine but WordPress changes some of my JSON code after I hit save.
a single quote (‘) is saved as (') and with any updates the code does not work anymore.
Below an example:
chart_legend='{“position”:”top”, “textStyle”:{“fontSize”: 13}}’
is saved as ->
chart_legend='{“position”:”top”, “textStyle”:{“fontSize”: 13}}'
Is there a way to avoid this?
https://ww.wp.xz.cn/plugins/inline-google-spreadsheet-viewer/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘single quotes in query’ is closed to new replies.