[Pkg-javascript-commits] [ltx] 356/469: Unescape line return entities
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 13:03:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository ltx.
commit 06d922f56f73c9e89fe4b6b916e4beafa1210a32
Author: Lloyd Watkin <lloyd at evilprofessor.co.uk>
Date: Wed Nov 26 11:32:20 2014 +0000
Unescape line return entities
---
lib/sax/sax_ltx.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/sax/sax_ltx.js b/lib/sax/sax_ltx.js
index e9a3e23..6fc8a63 100644
--- a/lib/sax/sax_ltx.js
+++ b/lib/sax/sax_ltx.js
@@ -165,5 +165,6 @@ function unescapeXml(s) {
replace(/\</g, '<').
replace(/\>/g, '>').
replace(/\"/g, '"').
- replace(/\'/g, '\'')
+ replace(/\'/g, '\'').
+ replce(/\
/g, '\n')
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git
More information about the Pkg-javascript-commits
mailing list