fixed issue #314 - fix for > at end of line

print-window-tiddler
Stephan Hradek 2013-12-29 23:57:42 +01:00
rodzic 8e080eac0a
commit 3cc8138133
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -64,6 +64,11 @@ var processRow = function(prevColumns) {
} else if(cellMatch[2]) {
// End of row
if(prevCell && colSpanCount > 1) {
try {
colSpanCount+= prevCell.attributes.colspan.value;
} catch (e) {
colSpanCount-= 1;
}
$tw.utils.addAttributeToParseTreeNode(prevCell,"colspan",colSpanCount);
}
this.parser.pos = cellRegExp.lastIndex - 1;