diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2010-02-19 13:22:11 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2010-02-19 13:22:11 +0000 |
commit | 378970a5234ba5a9f5812b708333aa2ffdf7c6cc (patch) | |
tree | 1d35bac72aca244746282a5b1853aa0911aef45a /scripts/pagerev.php | |
parent | 88c20060ed2f946fa3207d2292bd8e20627419b8 (diff) | |
download | pmwiki.svn-378970a5234ba5a9f5812b708333aa2ffdf7c6cc.tar.bz2 |
Add more punctuation as word-diff delimiters
git-svn-id: svn://pmwiki.org/pmwiki/trunk@2504 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/pagerev.php')
-rw-r--r-- | scripts/pagerev.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pagerev.php b/scripts/pagerev.php index 80197ac9..495d0f89 100644 --- a/scripts/pagerev.php +++ b/scripts/pagerev.php @@ -203,7 +203,7 @@ function DiffRenderSource($in, $out, $which) { ## Split a line into pieces before passing it through `diff` function DiffPrepareInline($x) { global $DiffSplitInlineDelims; - SDV($DiffSplitInlineDelims, "-@!?#$%^&*()=+[]{}.'\"\\:|,<>_/"); + SDV($DiffSplitInlineDelims, "-@!?#$%^&*()=+[]{}.'\"\\:|,<>_/;~"); return preg_split("/([".preg_quote($DiffSplitInlineDelims, '/')."\\s])/", $x, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); } |