Index: trunk/extensions/wikidiff2/wikidiff2.cpp |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | void Wikidiff2::printAdd(const String & line) |
121 | 121 | { |
122 | 122 | result += "<tr>\n" |
123 | | - " <td colspan=\"2\"> </td>\n" |
| 123 | + " <td colspan=\"2\" class=\"diff-empty\"> </td>\n" |
124 | 124 | " <td class=\"diff-marker\">+</td>\n" |
125 | 125 | " <td class=\"diff-addedline\">"; |
126 | 126 | printTextWithDiv(line); |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | " <td class=\"diff-deletedline\">"; |
135 | 135 | printTextWithDiv(line); |
136 | 136 | result += "</td>\n" |
137 | | - " <td colspan=\"2\"> </td>\n" |
| 137 | + " <td colspan=\"2\" class=\"diff-empty\"> </td>\n" |
138 | 138 | "</tr>\n"; |
139 | 139 | } |
140 | 140 | |
Index: trunk/extensions/wikidiff2/debian/changelog |
— | — | @@ -1,7 +1,8 @@ |
2 | 2 | php5-wikidiff2 (1.1.2-1) lucid; urgency=low |
| 3 | + * Fixed bug 26354 (added class to dummy cells containing ) |
3 | 4 | * Fixed bug 25697 (empty context lines not showing) |
4 | 5 | |
5 | | - -- Roan Kattouw <rkattouw@wikimedia.org> Tue, 03 Jan 2012 11:54:25 +0100 |
| 6 | + -- Roan Kattouw <rkattouw@wikimedia.org> Tue, 03 Jan 2012 14:15:41 +0100 |
6 | 7 | |
7 | 8 | php5-wikidiff2 (1.1.1-1) lucid; urgency=low |
8 | 9 | |
Index: trunk/extensions/wikidiff2/tests/001.phpt |
— | — | @@ -137,7 +137,7 @@ |
138 | 138 | <td class="diff-context"></td> |
139 | 139 | </tr> |
140 | 140 | <tr> |
141 | | - <td colspan="2"> </td> |
| 141 | + <td colspan="2" class="diff-empty"> </td> |
142 | 142 | <td class="diff-marker">+</td> |
143 | 143 | <td class="diff-addedline"><div>sjgfkdjfgb</div></td> |
144 | 144 | </tr> |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | <tr> |
158 | 158 | <td class="diff-marker">−</td> |
159 | 159 | <td class="diff-deletedline"><div>kjahegwnygw</div></td> |
160 | | - <td colspan="2"> </td> |
| 160 | + <td colspan="2" class="diff-empty"> </td> |
161 | 161 | </tr> |
162 | 162 | <tr> |
163 | 163 | <td class="diff-marker"> </td> |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | <tr> |
175 | 175 | <td class="diff-marker">−</td> |
176 | 176 | <td class="diff-deletedline"><div>---line---</div></td> |
177 | | - <td colspan="2"> </td> |
| 177 | + <td colspan="2" class="diff-empty"> </td> |
178 | 178 | </tr> |
179 | 179 | <tr> |
180 | 180 | <td class="diff-marker"> </td> |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | <td class="diff-context"><div>a</div></td> |
206 | 206 | </tr> |
207 | 207 | <tr> |
208 | | - <td colspan="2"> </td> |
| 208 | + <td colspan="2" class="diff-empty"> </td> |
209 | 209 | <td class="diff-marker">+</td> |
210 | 210 | <td class="diff-addedline"><div>---line---</div></td> |
211 | 211 | </tr> |
— | — | @@ -239,12 +239,12 @@ |
240 | 240 | <tr> |
241 | 241 | <td class="diff-marker">−</td> |
242 | 242 | <td class="diff-deletedline"><div>--line1--</div></td> |
243 | | - <td colspan="2"> </td> |
| 243 | + <td colspan="2" class="diff-empty"> </td> |
244 | 244 | </tr> |
245 | 245 | <tr> |
246 | 246 | <td class="diff-marker">−</td> |
247 | 247 | <td class="diff-deletedline"><div>--line2--</div></td> |
248 | | - <td colspan="2"> </td> |
| 248 | + <td colspan="2" class="diff-empty"> </td> |
249 | 249 | </tr> |
250 | 250 | <tr> |
251 | 251 | <td class="diff-marker"> </td> |
— | — | @@ -275,12 +275,12 @@ |
276 | 276 | <td class="diff-context"><div>a</div></td> |
277 | 277 | </tr> |
278 | 278 | <tr> |
279 | | - <td colspan="2"> </td> |
| 279 | + <td colspan="2" class="diff-empty"> </td> |
280 | 280 | <td class="diff-marker">+</td> |
281 | 281 | <td class="diff-addedline"><div>--line1--</div></td> |
282 | 282 | </tr> |
283 | 283 | <tr> |
284 | | - <td colspan="2"> </td> |
| 284 | + <td colspan="2" class="diff-empty"> </td> |
285 | 285 | <td class="diff-marker">+</td> |
286 | 286 | <td class="diff-addedline"><div>--line2--</div></td> |
287 | 287 | </tr> |
— | — | @@ -315,7 +315,7 @@ |
316 | 316 | <tr> |
317 | 317 | <td class="diff-marker">−</td> |
318 | 318 | <td class="diff-deletedline"><div>x1</div></td> |
319 | | - <td colspan="2"> </td> |
| 319 | + <td colspan="2" class="diff-empty"> </td> |
320 | 320 | </tr> |
321 | 321 | <tr> |
322 | 322 | <td class="diff-marker"> </td> |
— | — | @@ -344,17 +344,17 @@ |
345 | 345 | <tr> |
346 | 346 | <td class="diff-marker">−</td> |
347 | 347 | <td class="diff-deletedline"><div>x2</div></td> |
348 | | - <td colspan="2"> </td> |
| 348 | + <td colspan="2" class="diff-empty"> </td> |
349 | 349 | </tr> |
350 | 350 | <tr> |
351 | 351 | <td class="diff-marker">−</td> |
352 | 352 | <td class="diff-deletedline"><div>x1</div></td> |
353 | | - <td colspan="2"> </td> |
| 353 | + <td colspan="2" class="diff-empty"> </td> |
354 | 354 | </tr> |
355 | 355 | <tr> |
356 | 356 | <td class="diff-marker">−</td> |
357 | 357 | <td class="diff-deletedline"><div>x2</div></td> |
358 | | - <td colspan="2"> </td> |
| 358 | + <td colspan="2" class="diff-empty"> </td> |
359 | 359 | </tr> |
360 | 360 | <tr> |
361 | 361 | <td class="diff-marker"> </td> |
Index: trunk/extensions/wikidiff2/tests/002.phpt |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | <td class="diff-context"><div>== Shortest sequence in X ==</div></td> |
59 | 59 | </tr> |
60 | 60 | <tr> |
61 | | - <td colspan="2"> </td> |
| 61 | + <td colspan="2" class="diff-empty"> </td> |
62 | 62 | <td class="diff-marker">+</td> |
63 | 63 | <td class="diff-addedline"><div>x1</div></td> |
64 | 64 | </tr> |
— | — | @@ -86,17 +86,17 @@ |
87 | 87 | <td class="diff-context"><div>x1</div></td> |
88 | 88 | </tr> |
89 | 89 | <tr> |
90 | | - <td colspan="2"> </td> |
| 90 | + <td colspan="2" class="diff-empty"> </td> |
91 | 91 | <td class="diff-marker">+</td> |
92 | 92 | <td class="diff-addedline"><div>x2</div></td> |
93 | 93 | </tr> |
94 | 94 | <tr> |
95 | | - <td colspan="2"> </td> |
| 95 | + <td colspan="2" class="diff-empty"> </td> |
96 | 96 | <td class="diff-marker">+</td> |
97 | 97 | <td class="diff-addedline"><div>x1</div></td> |
98 | 98 | </tr> |
99 | 99 | <tr> |
100 | | - <td colspan="2"> </td> |
| 100 | + <td colspan="2" class="diff-empty"> </td> |
101 | 101 | <td class="diff-marker">+</td> |
102 | 102 | <td class="diff-addedline"><div>x2</div></td> |
103 | 103 | </tr> |
Index: trunk/extensions/wikidiff2/README |
— | — | @@ -23,6 +23,7 @@ |
24 | 24 | == Changelog == |
25 | 25 | |
26 | 26 | 2012-01-03 |
| 27 | +* (bug 26354) Add class to dummy cells containing |
27 | 28 | * (bug 25697) Add   to empty context lines |
28 | 29 | |
29 | 30 | 2010-09-30 |