mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Count newlines in textareas correctly. bug 331482, r+sr=sicking
This commit is contained in:
parent
ffcef9d003
commit
060fd68dd6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user