diff builder: fix bug in wiki page / pool diff generation.
Fixup for c2688e3af.
This commit is contained in:
@@ -16,7 +16,7 @@ class DiffBuilder
|
|||||||
|
|
||||||
escape_html = ->(str) {str.gsub(/&/, '&').gsub(/</, '<').gsub(/>/, '>')}
|
escape_html = ->(str) {str.gsub(/&/, '&').gsub(/</, '<').gsub(/>/, '>')}
|
||||||
|
|
||||||
output = thisarr
|
output = otharr
|
||||||
output.each { |q| q.replace(escape_html[q]) }
|
output.each { |q| q.replace(escape_html[q]) }
|
||||||
|
|
||||||
diffs.reverse_each do |hunk|
|
diffs.reverse_each do |hunk|
|
||||||
|
|||||||
Reference in New Issue
Block a user