Open Bug 519070 Opened 15 years ago Updated 11 years ago

Bugzilla::Template->create() should use PRE_CHOMP => 2 instead of 1

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: LpSolit, Unassigned)

References

()

Details

Per the TT doc, see the URL field:

"If PRE_CHOMP or POST_CHOMP is set to 2, all whitespace including any number of newline will be removed and replaced with a single space. This is useful for HTML, where (usually) a contiguous block of whitespace is rendered the same as a single space."

I think that's what we should use as consecutive newlines are most (all?) of the time unwanted. We should make sure we don't introduce regressions, though.
You need to log in before you can comment on or make changes to this bug.