summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Client/Tools/POSIX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index 4c0cbc8ff..2b10d7cd3 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -201,7 +201,7 @@ class POSIX(Bcfg2.Client.Tools.Tool):
if not contentStatus:
diff = '\n'.join([x for x in difflib.ndiff(content.split('\n'), tempdata.split('\n'))])
try:
- entry.set("current_diff", xml.sax.saxutils.quoteattr(diff))
+ entry.set("current_diff", xml.sax.saxutils.escape(diff))
except:
pass
udiff = '\n'.join([x for x in difflib.unified_diff(content.split('\n'), \