Smileys in code == bad, m'kay?
-
Chris - would it be possible to turn off smiley parsing within <pre> and <code> blocks? These generally represent code, and you probably don't want smileys in code?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Chris - would it be possible to turn off smiley parsing within <pre> and <code> blocks? These generally represent code, and you probably don't want smileys in code?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
Can you send me a link to a message with code that contains smileys? The code should be smart enough to not convert, but it can always be improved.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
Can you send me a link to a message with code that contains smileys? The code should be smart enough to not convert, but it can always be improved.
cheers, Chris Maunder
CodeProject.com : C++ MVP
I would, except I 'refactored' the smiley out (I always preview). However, it was a regex, like this:
std::tr1::regex re("^([^:]*):(\\d+)\\s+(\\d+)\\s+(\\S)\\s+(\\S)$");
The preview indicates an anti-smiley (the correct reaction to any regex, possibly) between the first two captures.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
I would, except I 'refactored' the smiley out (I always preview). However, it was a regex, like this:
std::tr1::regex re("^([^:]*):(\\d+)\\s+(\\d+)\\s+(\\S)\\s+(\\S)$");
The preview indicates an anti-smiley (the correct reaction to any regex, possibly) between the first two captures.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p