diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-04-10 18:42:20 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-04-10 18:42:20 +0100 |
commit | f755f63a3beef948a8d179c0e0860041f4f86db5 (patch) | |
tree | a80e0a4bb90a541752d464c35ad2a1d1efbfcfbe /inc | |
parent | a494ed3306f1a5e6082a1ffb7e17925a524ea711 (diff) | |
download | rpg-f755f63a3beef948a8d179c0e0860041f4f86db5.tar.gz rpg-f755f63a3beef948a8d179c0e0860041f4f86db5.tar.bz2 |
FS#2748, fix double encoding of html entities in subscription email diffs (updates subscription.php for changes to Diff class introduced in PR#179)
Diffstat (limited to 'inc')
-rw-r--r-- | inc/subscription.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/subscription.php b/inc/subscription.php index 2989de032..4248e4b11 100644 --- a/inc/subscription.php +++ b/inc/subscription.php @@ -408,8 +408,8 @@ class Subscription { $tdiff = $dformat->format($df); $DIFF_INLINESTYLES = true; - $df = new Diff(explode("\n", hsc($old_content)), - explode("\n", hsc($new_content))); + $df = new Diff(explode("\n", $old_content), + explode("\n", $new_content)); $dformat = new InlineDiffFormatter(); $hdiff = $dformat->format($df); $hdiff = '<table>'.$hdiff.'</table>'; |