Skip to content

Commit

Permalink
add comment to Unified Diff Formatter making it clear the output is u…
Browse files Browse the repository at this point in the history
…nsafe for use in HTML as is
  • Loading branch information
Chris--S committed Apr 10, 2013
1 parent 892345c commit df9752e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/DifferenceEngine.php
Expand Up @@ -1004,6 +1004,8 @@ function inline() {
* "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 {

Expand Down

0 comments on commit df9752e

Please sign in to comment.