Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I disable "smart quotes", i.e. automatically substituting "these" with “these” ?


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.

5 answers

It's ridiculous that this can't be disabled universally on a wiki used by tons of tech companies.


Even this comment box doesn't automatically do "smart" quotes.

2 votes

+1 for tearing out this ridiculous "feature".

1 vote
DPK J Community Leader Sep 23, 2020

@Joni I did face same issue and started using ( `  i.e. back quote) before I pasted code, or whenever I wanted to add code.

Thank you, for that workaround. It's not the solution I'm looking for as I'd like software systems working FOR me, not AGAINST me. 🤨

Like DPK J likes this
DPK J Community Leader Sep 28, 2020

I too become very unhappy when things like these occur.

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. 

You can work around that using the "code snippet" under the "+" menu.


However, smart quotes still happen in code format from Bold/Italic/... menu, which I agree is not developer-friendly.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events