Fixed problem with tiddler context within macros

This commit is contained in:
Jeremy Ruston
2011-12-09 12:26:36 +00:00
parent 341c7143ed
commit 318381a21b
4 changed files with 30 additions and 27 deletions

View File

@@ -148,7 +148,7 @@ WikiTextRules.rules = [
// Move the caption to the first row if it isn't already
if(table.children.length !== 1) {
table.children.pop(); // Take rowContainer out of the children array
table.splice(0,0,rowContainer); // Insert it at the bottom
table.children.splice(0,0,rowContainer); // Insert it at the bottom
}
rowContainer.attributes.align = rowCount === 0 ? "top" : "bottom";
w.subWikifyTerm(rowContainer.children,this.rowTermRegExp);