15

Triple single quote vs triple double quote in Ruby shows up wrong on the question page, and I initially tried editing the quotes to fix them, before seeing that my changes hadn't changed the displayed title!

That's semantically wrong, since curly quotes in Ruby are not the same as straight*, so SO is silently damaging the question, and there is no workaround possible. bobince appears to have the right idea here of annihilating smart quotes in titles entirely (found through Two hyphens get changed to a long dash in titles (-- vs -), which has a workaround and is thus not a dupe.)

*AFAIK

4
  • 4
    Do those really need to be in the title though? I mean, without the pre-formatted text supplied by code formatting, they just look like a bunch of ticks and you can't even tell they are single versus double quotes. So why not just explain it via text and exclude the quotation marks in the title?
    – animuson StaffMod
    Feb 17, 2015 at 2:03
  • 2
    @animuson: In my proportional font (Helvetica Neue 16-point), the difference is slight, but noticeable in the questions list. More to the point, the specific case of single vs double quotes is rarer by a large margin than simply needing double quotes in the title in the first place. And having your first impression of a question be that it's a ridiculously trivial typo, when that's not the case, is quite unfortunate. Feb 17, 2015 at 2:43
  • 2
    @animuson do we really want to expect all new users to know that we don't support quotes in the title? isn't it better to design a system that behaves as expected? just because they don't need to be there doesn't mean people won't put them there. in that case we shouldn't damage the question.
    – nhouser9
    Apr 6, 2017 at 4:36
  • 1
    Uber-Meta post: Fix Markdown/SmartyPants in question titles
    – Martijn Pieters Mod
    Jan 11, 2019 at 15:41

0

Browse other questions tagged .