fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix video
[redakcja.git]
/
apps
/
wiki
/
nice_diff.py
diff --git
a/apps/wiki/nice_diff.py
b/apps/wiki/nice_diff.py
index
b228fad
..
19ad602
100644
(file)
--- a/
apps/wiki/nice_diff.py
+++ b/
apps/wiki/nice_diff.py
@@
-19,11
+19,11
@@
def diff_replace(match):
def filter_line(line):
def filter_line(line):
- return
DIFF_RE.sub(diff_replace, html_escape(line)).replace('\x01', '</span>')
+ return DIFF_RE.sub(diff_replace, html_escape(line)).replace('\x01', '</span>')
def format_changeset(a, b, change):
def format_changeset(a, b, change):
- return
(a[0], filter_line(a[1]), b[0], filter_line(b[1]), change)
+ return
a[0], filter_line(a[1]), b[0], filter_line(b[1]), change
def html_diff_table(la, lb, context=None):
def html_diff_table(la, lb, context=None):