Stupid Smilies!

It was a good idea to start blogging lessons learned as I code, but it took almost as long to post a correctly formatted entry when I ran into one problem. WordPress creates emoticons automagically. Even if the text is embedded in a <code> or <pre> block. My last posting contained a :order symbol, which WordPress converted into a laughing smiley. Thinking it was in my code, I manually retyped in the text, tried a code tag, and removed extraneous tags to no avail. WordPress has a setting that takes care of this. Emoticon conversion is turned on by default, a bad thing for Ruby bloggers. Problem fixed, after wasting too much time doing the right thing.

This entry was posted in Blog, Tumblelog and tagged , , . Bookmark the permalink.