# 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:** 1

<div class="post-metadata">

**Author:** ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**Post date:** [April 10, 2025, 5:01pm UTC](https://meta.discourse.org/t/smart-quotes-breaking-quote-template/361294/1 "2025-04-10T17:01:57Z")

</div>

On at least two different Discourse sites I’ve run into a problem where when I select text and hit “Quote” to reply, smart quotes get used in one place which breaks the appearance of my post. Here is a screenshot of an example post that is displaying incorrectly because of the smart quote at the end of the first line (inside the brackets):

 ![Screenshot 2025-04-10 at 12.48.18](https://global.discourse-cdn.com/meta/original/4X/f/a/0/fa0d987489cd7e34d01caa4c7fe08a12d4ef5178.png)

This has been happening for months, and I only just figured out what was going on with those posts.

I can reproduce it about 50% of the time on Safari 18.4 on Mac OS 15.4 as well as an earlier version of Safari on Mac OS 15.3.

The site I run where I see it is running Discourse 3.4.2. Another site I just ran into it on is running 3.4.0.beta3-dev.

I believe I have also seen some other people running into this issue on my site, but I haven’t double checked that today.

---

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