WordPress <code> and escape characters

I had to edit my last post over 10 times to get it right.

Within <code> you need to insert non-breaking spaces (&nbsp;) for spaces. WordPress will ignore actual spaces.

To escape a \ you can type &#92; instead. There may be other ways to escape this but \ did not work.

Also, to type &#92; you need to separate the & and the #92; into two <code> segments, so they don’t merge together (but still display properly). So something like this:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: