Count newlines in textareas correctly. bug 331482, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@193754 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -770,7 +770,7 @@ CTextToken::ConsumeParsedCharacterData(PRBool aDiscardFirstNewline,
|
||||
// the document.
|
||||
|
||||
static const PRUnichar terminalChars[] = {
|
||||
PRUnichar('&'), PRUnichar('<'),
|
||||
PRUnichar('\r'), PRUnichar('\n'), PRUnichar('&'), PRUnichar('<'),
|
||||
PRUnichar(0)
|
||||
};
|
||||
static const nsReadEndCondition theEndCondition(terminalChars);
|
||||
|
||||
Reference in New Issue
Block a user