Fix a problem with frames when rowlines or columnlines are not defined (introduced by the change that added menclose for handling partial frames in tables)
This commit is contained in:
parent
e030b97288
commit
1d5c0e1750
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -244,10 +244,10 @@
|
|||
mml.frame = (this.frame.dashed ? "dashed" : "solid");
|
||||
} else if (this.frame.length) {
|
||||
mml.hasFrame = true;
|
||||
this.arraydef.rowlines = this.arraydef.rowlines.replace(/none( none)+$/,"none");
|
||||
if (this.arraydef.rowlines) {this.arraydef.rowlines = this.arraydef.rowlines.replace(/none( none)+$/,"none")}
|
||||
mml = MML.menclose(mml).With({notation: this.frame.join(" "), isFrame: true});
|
||||
if (this.arraydef.columnlines != "none" ||
|
||||
this.arraydef.rowlines != "none") {mml.padding = 0} // HTML-CSS jax implements this
|
||||
if ((this.arraydef.columnlines||"none") != "none" ||
|
||||
(this.arraydef.rowlines||"none") != "none") {mml.padding = 0} // HTML-CSS jax implements this
|
||||
}
|
||||
if (this.open || this.close) {
|
||||
mml = MML.mfenced(mml).With({open: this.open, close: this.close});
|
||||
|
|
Loading…
Reference in New Issue
Block a user