We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed6852f commit 2b955e5Copy full SHA for 2b955e5
1 file changed
src/folia_subclasses.cxx
@@ -1458,6 +1458,11 @@ namespace folia {
1458
if ( !AbstractElement::addable( parent ) ){
1459
return false;
1460
}
1461
+ if ( parent->isSubClass<AbstractSpanRole>() ){
1462
+ // we should check the textclass of the layer above this.
1463
+ // but due to recusion, it is not connected to that layer yet!
1464
+ return true;
1465
+ }
1466
if ( !_tval.empty() ){
1467
string watt = _ref->str(parent->textclass());
1468
if ( watt.empty() ){
0 commit comments