I often use normal HTML code tags, but I’m finding that if I use straight quotes, they get converted to curly quotes, which is pretty ugly in code. This doesn’t happen inside pre tags, so I was wondering if there’s any way to prevent it within code tags. I realize you can use the EE [ code ] tags, but it pulls in a lot of formatting that I don’t want to have to override. (I use them inline, which the EE code tags create a block, and also changes font size and coloring—grrr.)
I recommend that the system also include HTML code tags as an exemption to curly quotes, just as is the case with pre.
Any suggestions for what to do here? Is there some way I can add code tags to the exception myself?
Thanks. 😊
EDIT: I guess another solution would be to strip out the EE styles for [ code ] ... but I’d rather not hack the system, as it’s a pain to remember when upgrading.