Index: trunk/extensions/VisualEditor/modules/parser/pegParser.pegjs.txt |
— | — | @@ -200,7 +200,7 @@ |
201 | 201 | var txt = out[index - 1]; |
202 | 202 | txt.value += "'"; |
203 | 203 | if ( i > 0 ) { |
204 | | - bolds = bolds.slice(0, i-1) |
| 204 | + bolds = bolds.slice(0, i) |
205 | 205 | .concat(bolds.slice(i + 1, bolds.length - i - 1)); |
206 | 206 | } else { |
207 | 207 | bolds.shift(); |