mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-05 16:28:05 +00:00
changed to conform to Jeremy's standards - sorry…
This commit is contained in:
@@ -52,11 +52,7 @@ var processRow = function(prevColumns) {
|
||||
// Move to just before the `|` terminating the cell
|
||||
this.parser.pos = cellRegExp.lastIndex - 1;
|
||||
} else if(cellMatch[1] === "<" && prevCell) {
|
||||
try {
|
||||
colSpanCount = 1+prevCell.attributes.colspan.value;
|
||||
} catch (e) {
|
||||
colSpanCount = 2;
|
||||
}
|
||||
colSpanCount = 1+$tw.utils.getAttributeValueFromParseTreeNode(prevCell, "colspan", 1);
|
||||
$tw.utils.addAttributeToParseTreeNode(prevCell,"colspan",colSpanCount);
|
||||
colSpanCount = 1;
|
||||
// Move to just before the `|` terminating the cell
|
||||
|
||||
Reference in New Issue
Block a user