Corrected a bug in the Code2HTML widget today. Turns out I needed to escape the $ symbol in strings passed to the pbcopy command line utility. In a case where you have something like "$()" in the code stream that is converted, it is removed from the resulting pbpaste command utility. The string "$()" is apparently interpreted as some sort of expression, which in this case results in nothing, and so the string is removed from the pasted output. Fixed the bug by escaping the $ symbol in the output stream.
Kudos to afuna for finding this one.