Angle brackets and quoting in code
-
Chris - after reading (yet another) C++ question where there were loads of lines like
#include
I had the following thought - why not make the default quoting just escape all < and > inside <code%gt; tags, rather than treating them as tags? It would help the people who don't have a clue (so don't realise that tagification will happen), and if you had an option that would still tagify inside <code>, that would suit the rest of us, who do have a clue (I hope I'm not being presumptious by including myself in that group). Hmmm - on second thoughts, that might not work so well - I looked back at the question that prompted this, and the guy didn't put his code in <code> tags anyway. Scratch that suggestion. -
Chris - after reading (yet another) C++ question where there were loads of lines like
#include
I had the following thought - why not make the default quoting just escape all < and > inside <code%gt; tags, rather than treating them as tags? It would help the people who don't have a clue (so don't realise that tagification will happen), and if you had an option that would still tagify inside <code>, that would suit the rest of us, who do have a clue (I hope I'm not being presumptious by including myself in that group). Hmmm - on second thoughts, that might not work so well - I looked back at the question that prompted this, and the guy didn't put his code in <code> tags anyway. Scratch that suggestion.