I love hacker news! You learn something useful here and there.
I always used html elements like <pre /> and <code /> to go around this in the past