# HG changeset patch # User bsw # Date 1355165970 -3600 # Node ID 3b74187efaa3b01e067101d5f79c1813c7519fac # Parent ba824959fc1fc65e770d186ca24846ecde7897f2 Added missing html encoding to diff output diff -r ba824959fc1f -r 3b74187efaa3 app/main/draft/diff.lua --- a/app/main/draft/diff.lua Mon Dec 10 19:59:07 2012 +0100 +++ b/app/main/draft/diff.lua Mon Dec 10 19:59:30 2012 +0100 @@ -105,7 +105,7 @@ if not state_changed then slot.put(" ") end - slot.put(line) + slot.put(encode.html(line)) else slot.put("
") end