Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js |
— | — | @@ -366,7 +366,7 @@ |
367 | 367 | end( i - offset ); |
368 | 368 | } |
369 | 369 | if ( stack.length ) { |
370 | | - obj.annotation = stack; |
| 370 | + obj.annotations = stack; |
371 | 371 | } |
372 | 372 | // Copy attributes if there are any set |
373 | 373 | if ( !es.isEmptyObject( this.attributes ) ) { |