I wrote something like:
curl -XPUT 'http://localhost:9200/idx/_settings'
and Confluence automatically changed it to:
curl -XPUT ‘http://localhost:9200/idx/_settings’
which completely breaks the curl command.
I would like to disable those smart quote substitutions. We're not using Confluence for typographic sugar, but for documenting programming code which in many cases make big difference with the little characters.
And no, having to *first* mark the code as Code (ctrl+shift+m) and only then starting to write/pasting code is an unwanted hindrance in the workflow.
It's also an insidious problem for JSON. The odd quotes cause the JSON format checkers to fail your JSON, but not flag the quotes as the issue which can lead to a long and frustrating debug session. This makes it hard (forced to use inconvenient workarounds) to do our documentation in Confluence and allow users to cut and paste sample JSON.
Google docs has a setting. It is possible, please fix it.