Two dashes turn into a big one
-
How can I avoid wordpress from turning two dashes “-” into a big one “–” (even with
tags around!)?
I'm writing a blog about linux, and it's really annoying when I have to write command line codes, thetag should avoid this kind of mistakes.
-
woops sorry for the typo, read :
“even with code tags around”
and
“the code tags should avoid this kind of mistakes”
-
As a (hopefully temporary) workaround, I’ve found that separating the dashes with a comment works. For example, “
-<!-- Argh! WordPress is really annoying! -->-“. Also, why does WordPress convert to an ordinary space? If I wanted an ordinary space, wouldn’t I have just typed that instead of spending all sorts of time converting spaces to ? -
-
-
thanks for all the answer,
mrlobotomy:”If I wanted an ordinary space, wouldn’t I have just typed that instead of spending all sorts of time converting spaces to ?”
I have the same question for code tags: why doesn’t it work properlymatt: thanks, I’ll use this method from now on, but I think this code tag should “simply work” as a code tag…
forum12345: I stupidly wrote < code > blabla < code > blala :)
- The topic ‘Two dashes turn into a big one’ is closed to new replies.