Index: trunk/parsers/wikidom/lib/es/es.ListBlock.js |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | |
100 | 100 | this.list.traverseItems( function( item, index ) { |
101 | 101 | itemLength = item.content.getLength(); |
102 | | - if ( offset >= globalOffset && offset < globalOffset + itemLength ) { |
| 102 | + if ( offset >= globalOffset && offset <= globalOffset + itemLength ) { |
103 | 103 | position = item.flow.getPosition( offset - globalOffset ); |
104 | 104 | contentOffset = item.$content.offset(); |
105 | 105 | position.top += contentOffset.top - blockOffset.top; |
— | — | @@ -113,6 +113,10 @@ |
114 | 114 | return position; |
115 | 115 | }; |
116 | 116 | |
| 117 | +es.ListBlock.prototype.getText = function( range, render ) { |
| 118 | + return ""; |
| 119 | +}; |
| 120 | + |
117 | 121 | /* Registration */ |
118 | 122 | |
119 | 123 | /** |