diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-04-10 18:01:04 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-04-10 18:01:04 +0100 |
commit | df9752e9c1bfd3eaff132b15817baa1c6e989506 (patch) | |
tree | 8d6a41525ed71d97b60c82bbc0d9df4f286a00d0 /inc/DifferenceEngine.php | |
parent | 892345cb7ab86c179f6cc30b504789133d354175 (diff) | |
download | rpg-df9752e9c1bfd3eaff132b15817baa1c6e989506.tar.gz rpg-df9752e9c1bfd3eaff132b15817baa1c6e989506.tar.bz2 |
add comment to Unified Diff Formatter making it clear the output is unsafe for use in HTML as is
Diffstat (limited to 'inc/DifferenceEngine.php')
-rw-r--r-- | inc/DifferenceEngine.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/DifferenceEngine.php b/inc/DifferenceEngine.php index e0fbf8e03..783d6bea5 100644 --- a/inc/DifferenceEngine.php +++ b/inc/DifferenceEngine.php @@ -1004,6 +1004,8 @@ class InlineWordLevelDiff extends MappedDiff { * "Unified" diff formatter. * * This class formats the diff in classic "unified diff" format. + * + * NOTE: output is plain text and unsafe for use in HTML without escaping. */ class UnifiedDiffFormatter extends DiffFormatter { |