WordPress engine fail on embeded smilies in source

So I went to post a source code snippet and kept getting this

<img src="http://s1.wp.com/wp-includes/images/smilies/icon_surprised.gif?m=1268811515g" alt=":o" class="wp-smiley">

Whenever I had :o in my examples. Say for a ruby on rails :order example.

Turns out smilies1 can be disabled blog wide. I would just expect wordpress to not parse ‘smilies’ in my sourcecode blocks.


Significant Revisions

tags: 2011, txcowboycoder, wordpress

  • May 6th, 2024 Converted to jekyll markdown format and copied to personal site
  • Jan 16th, 2011 Originally published on txcowboycoder wordpress site

EOF/Footnotes

  1. Showing my age here a little. smilies now redirects to emoji. Also in revisiting this post just over 13 years (May 13th, 2024) later I had forgotten emojis were once called “smilies”[sic].