Have a with plaintext in it directly in the body of a document
Convert that to torus format
Expected: It gets converted to a callout
Actual: callout_inline
The test for whether the element should be inline or not includes checking for text-nodes as siblings. That test didn't filter out empty text nodes, and returned a false-positive for requiring it to be inline
Fixes https://github.com/Simon-Initiative/oli-torus/issues/3642
To reproduce:
Expected: It gets converted to a callout Actual: callout_inline
The test for whether the element should be inline or not includes checking for text-nodes as siblings. That test didn't filter out empty text nodes, and returned a false-positive for requiring it to be inline