mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 04:39:31 +00:00
67426 - Fixing up a regression caused when fixing bug 54453.
r=heikki
This commit is contained in:
parent
e515c1db7c
commit
2863e449d8
@ -1774,8 +1774,8 @@ SinkContext::AddLeaf(const nsIParserNode& aNode)
|
||||
}
|
||||
else {
|
||||
// Map carriage returns to newlines
|
||||
if ((tmp.Length() > 0) && (tmp.CharAt(0) == '\r')) {
|
||||
if (tmp.CharAt(0) == '\r') {
|
||||
if(tmp.Length() > 0) {
|
||||
if(tmp.CharAt(0) == '\r') {
|
||||
tmp.AssignWithConversion("\n");
|
||||
}
|
||||
rv = AddText(tmp);
|
||||
|
@ -1774,8 +1774,8 @@ SinkContext::AddLeaf(const nsIParserNode& aNode)
|
||||
}
|
||||
else {
|
||||
// Map carriage returns to newlines
|
||||
if ((tmp.Length() > 0) && (tmp.CharAt(0) == '\r')) {
|
||||
if (tmp.CharAt(0) == '\r') {
|
||||
if(tmp.Length() > 0) {
|
||||
if(tmp.CharAt(0) == '\r') {
|
||||
tmp.AssignWithConversion("\n");
|
||||
}
|
||||
rv = AddText(tmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user