Why is `--` converted into ndash and how can I get rid of it?
I have a blog where I publish Linux tutorials. Some of the commands I listed have a --
before command-line arguments. e.g.: dpkg --get-selections
.
The problem is that WordPress automatically switches --
to an (ndash;
).
I know I could use the minus;minus;
HTML entities, but the display is slightly different than the keyboard -
sign.
What I want is to disable this behaviour of WP. Is there a way to solve this?
Topic wp-kses htmlspecialchars-decode html-editor Wordpress
Category Web