r82905 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82904‎ | r82905 | r82906 >
Date:20:10, 27 February 2011
Author:hartman
Status:ok
Tags:
Comment:
Use a true minus in wikidiff. just like in WikiDiff.php

Fixes bug 26038
Modified paths:
  • /trunk/extensions/wikidiff/wikidiff.cpp (modified) (history)

Diff [purge]

Index: trunk/extensions/wikidiff/wikidiff.cpp
@@ -60,7 +60,7 @@
6161 case del:
6262 // deleted text
6363 ret += "<tr>"
64 - "<td>-</td>"
 64+ "<td>−</td>"
6565 "<td class=\"diff-deletedline\">" + *linediff[i].from + "</td>"
6666 "<td colspan=\"2\">&nbsp;</td>"
6767 "</tr>";
@@ -117,7 +117,7 @@
118118
119119 // print twice; first for left side, then for right side
120120 ret += "<tr>"
121 - "<td>-</td>"
 121+ "<td>−</td>"
122122 "<td class=\"diff-deletedline\">";
123123 print_worddiff_side(worddiff, false, ret);
124124 ret += "</td>"

Status & tagging log