# Smart quotes breaking Quote template

**URL:** https://meta.discourse.org/t/smart-quotes-breaking-quote-template/361294
**Category:** Bug
**Created:** [April 10, 2025, 5:01pm UTC](https://meta.discourse.org/t/smart-quotes-breaking-quote-template/361294 "2025-04-10T17:01:57Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [April 11, 2025, 2:44pm UTC](https://meta.discourse.org/t/smart-quotes-breaking-quote-template/361294/5 "2025-04-11T14:44:51Z")

</div>

> [@jtbayly](#):
>
> Another user reports if I turn off Smart Quote substitutions in Safari’s Edit-\>Substitutions-\>Smart Quotes, that will fix it.

I think this is the issue, in addition to the fact we imitate user input on the `textarea` on this type of addition to avoid losing the undo history.

I believe it can be “solved” with a `spellcheck="false"` on the element, but it has an obvious downside.

What’s causing the issue is the inconsistent quotation, it would work if it had the same style of quotes on both ends – any of these sets can be used:

> <https://github.com/discourse/discourse/blob/c484d2fd888f1d1b35e0a5ab619bb0662bf0e56c/app/assets/javascripts/discourse-markdown-it/src/features/bbcode-block.js#L37-L37>

It’s weird that only the second quotation mark got converted when quoting though, both sides get converted if the same BBCode is typed manually.

---

_[View the full topic](https://meta.discourse.org/t/smart-quotes-breaking-quote-template/361294)._
