Index: trunk/parsers/wikidom/lib/es/es.Content.js |
— | — | @@ -131,6 +131,9 @@ |
132 | 132 | * @returns {Array} List of plain or annotated characters |
133 | 133 | */ |
134 | 134 | es.Content.convertWikiDomLine = function( wikidomLine ) { |
| 135 | + if ( !wikidomLine ) { |
| 136 | + return []; |
| 137 | + } |
135 | 138 | // Convert string to array of characters |
136 | 139 | var data = wikidomLine.text.split(''); |
137 | 140 | var i; |