Formatting of the 'pre' and 'code' tags
-
Hello, I don't know about anybody else, but I'm getting a little rattled because of the <pre> and <code> formatting tags. When those tags are used, the leading spaces and tabs are removed, as well as any newlines between code lines. IMHO it's better to let the leading spaces and tabs stay as well as the newlines. This makes the code look more like in the editor and reads more easy. Behind every great black man... ... is the police. - Conspiracy brother Blog[^]
-
Hello, I don't know about anybody else, but I'm getting a little rattled because of the <pre> and <code> formatting tags. When those tags are used, the leading spaces and tabs are removed, as well as any newlines between code lines. IMHO it's better to let the leading spaces and tabs stay as well as the newlines. This makes the code look more like in the editor and reads more easy. Behind every great black man... ... is the police. - Conspiracy brother Blog[^]
For me, I only use <code> with inline stuff
this
. I use <pre> for all else, and to keep the blank lines intact, just insert a space.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
For me, I only use <code> with inline stuff
this
. I use <pre> for all else, and to keep the blank lines intact, just insert a space.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb