on 2023 Aug 02 11:42 AM
I have seen many blogs where I encountered this confusion
“ ” instead of " ‘ ’ instead of '
This does NOT happen in CODE
Happens ONLY in text outside CODE in main body
This is a cause of puzzled readers with SQLs etc outside code boxes;
This never happens in all text say in github!
In github README.md you get what you put.
Recently I realized that SAP blogs based on WordPress and
WordPress prefers curly quote and curly apostrophe unless CODE!
I used a suggestion to substitute the html decimal entities for " ' in body
BUT this reverts back to curly quotes when I want to edit next time
Please see my answer below with 2 Options
Request clarification before answering.
When you need straight quotes and straight apostrophe as in SQLs Commands etc
you have 2 options
Option 1
Put your SQLs etc in code boxes
Code boxes do not do curly changes!
Option 2 - no code boxes
Copy your blog text temporarily in an external editor like Google Docs
that allows global search and replace and even regular expressions RE2.
Remember if you have chosen Option 2 you need to do the same operation each time you edit
Copy out -> twice global Search and place ->copy back
"'Answered myself!'"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.