Merge branch 'issue1312' into develop. Issue #1312.

This commit is contained in:
Davide P. Cervone 2015-12-08 18:06:50 -05:00
commit e3a2603361

View File

@ -343,7 +343,8 @@
type: "fn", type: "fn",
checkItem: function (item) { checkItem: function (item) {
if (this.data[0]) { if (this.data[0]) {
if (item.type !== "fn" && item.type !== "left") { if (item.isOpen) {return true}
if (item.type !== "fn") {
if (item.type !== "mml" || !item.data[0]) {return [this.data[0],item]} if (item.type !== "mml" || !item.data[0]) {return [this.data[0],item]}
if (item.data[0].isa(MML.mspace)) {return [this.data[0],item]} if (item.data[0].isa(MML.mspace)) {return [this.data[0],item]}
var mml = item.data[0]; if (mml.isEmbellished()) {mml = mml.CoreMO()} var mml = item.data[0]; if (mml.isEmbellished()) {mml = mml.CoreMO()}