[Pkg-javascript-commits] [ltx] 436/469: fix lib/escape indent
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 13:03:36 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 fa76700b6c29c38e2b7563edd769c8c78914df0b
Author: Sonny Piers <sonny at fastmail.net>
Date: Wed Mar 30 15:59:23 2016 +0200
fix lib/escape indent
---
lib/escape.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/escape.js b/lib/escape.js
index 2143916..c80e279 100644
--- a/lib/escape.js
+++ b/lib/escape.js
@@ -34,8 +34,7 @@ exports.escapeXML = function escapeXML (s) {
}
exports.unescapeXML = function unescapeXML (s) {
- return s
- .replace(/\&(amp|#38|lt|#60|gt|#62|quot|#34|apos|#39);/g, unescapeXMLReplace)
+ return s.replace(/\&(amp|#38|lt|#60|gt|#62|quot|#34|apos|#39);/g, unescapeXMLReplace)
}
exports.escapeXMLText = function escapeXMLText (s) {
@@ -43,6 +42,5 @@ exports.escapeXMLText = function escapeXMLText (s) {
}
exports.unescapeXMLText = function unescapeXMLText (s) {
- return s
- .replace(/\&(amp|#38|lt|#60|gt|#62);/g, unescapeXMLReplace)
+ return s.replace(/\&(amp|#38|lt|#60|gt|#62);/g, unescapeXMLReplace)
}
--
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