summaryrefslogtreecommitdiff
path: root/indra/llxml
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llxml')
-rw-r--r--indra/llxml/llxmlnode.cpp3
-rw-r--r--indra/llxml/llxmlparser.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp
index 02c762cbe0..29e7214020 100644
--- a/indra/llxml/llxmlnode.cpp
+++ b/indra/llxml/llxmlnode.cpp
@@ -21,6 +21,7 @@
#include "v3dmath.h"
#include "v4math.h"
#include "llquaternion.h"
+#include "llstring.h"
#include "lluuid.h"
const S32 MAX_COLUMN_WIDTH = 80;
@@ -3068,6 +3069,8 @@ LLString LLXMLNode::getTextContents() const
msg = mValue.substr(start);
}
}
+ // Convert any internal CR to LF
+ msg = utf8str_removeCRLF(msg);
}
}
return msg;
diff --git a/indra/llxml/llxmlparser.cpp b/indra/llxml/llxmlparser.cpp
index e54b1c400d..459e27e542 100644
--- a/indra/llxml/llxmlparser.cpp
+++ b/indra/llxml/llxmlparser.cpp
@@ -2,7 +2,7 @@
* @file llxmlparser.cpp
* @brief LLXmlParser implementation
*
- * Copyright (c) 2002-$CurrentYear$`, Linden Research, Inc.
+ * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
* $License$
*/