Dear All,
I recently tried to copy and past a few shell commands into a posting, that contained single and double straight quotes. To my surprise discourse mangled/replaced these with typographic quotes, it seems that this is a new default for non-preformatted text.
Standard text:
"hello world"
Blockquote:
"hello world"
Preformatted text:
"hello world"
While arguably nicer looking*, the typographic quotes have the issue that they do not have the same meaning as their straight brethren if pasted into a shell.
Now one could argue that folks should simply learn to always tag their shell commands as preformatted text; but I would counter that the quote mangling only has minor cosmetic
advantages (and only for those who consider a) straight quotes as significantly uglier than typographic ones and b) do not want to configure their OS to do the quote mangling for them); while at the same time the noted disadvantage that copying from forum posts might lead to non-functional pastes into a command line. (And depending on font size/font type the differences might be subtle enough to be easily overlooked).
So here is my question for the forum elders:
Could we please try to disable that well-intended feature simply because its side effects seem unfortunate for a forum with both high technical/shell-related content and potentially enthusiastic but still green behind the ears users (who might not remember proper formatting all text elements accordingly)? Thank you very much in advance.
*) Honestly the biggest advantage of typographic quotes IMHO is that they differ for start and end and hence allow nested quotes, but honestly how often does one need to nest them...