Removed newline normalization between paragraphs.

Change-Id: Ifd55db73c8fe2b3e952066a75cba2f8e13c58430
This commit is contained in:
Subramanya Sastry 2012-06-14 18:51:56 -05:00 committed by Trevor Parscal
parent 8fd901850c
commit 2271f19ecf

View file

@ -373,10 +373,7 @@ WSP._serializeToken = function ( state, token ) {
//
// SSS FIXME: Other tags that have similar requirements within lists or
// other contexts?
// Normalize white space at 2 newlines between paragraphs
// So, ...\n*</p><p>... will always introduce 2 newlines
state.precedingNewlineCount = 2;
if (state.precedingNewlineCount < 2) state.precedingNewlineCount = 2;
}
} else if (state.precedingNewlineCount < 1) {
state.precedingNewlineCount = 1;