Last modified: 2011-12-15 03:32:52 UTC
Sometimes it breaks code formatting.
It shouldn't generally... empty lines before your program don't tend to mean anything, while an initial blank line is verrrrrry common due to the syntax: <source lang="xyz"> <-- NEWLINE first line of source second line of source </source> We don't want to add extra blank lines to represent that empty start. Is there an example where we would in fact want blank lines here? If so we'd still need to handle that first newline case.
(In reply to comment #1) > Is there an example where we would in fact want blank lines here? If so we'd > still need to handle that first newline case. <source lang="php"> $a = 1; $b = 2; </source> generates +--------------------------------------------------------------+ | $a = 1; | | $b = 2; | +--------------------------------------------------------------+ but this looks better: +--------------------------------------------------------------+ | $a = 1; | | $b = 2; | +--------------------------------------------------------------+ This does not happen if I replace tabs with spaces.
It seems Bugzilla converts tab to space so the input should be: <source lang="php"> [TAB]$a = 1; [TAB]$b = 2; </source>