You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which produces a sizable gap in the document due to the empty .paragraph subtree.
It would be great if Lens could check if a node has content before injecting it. It seems like a well-placed check for length 0 should be enough, but I have trouble finding the right spot for it.
The text was updated successfully, but these errors were encountered:
Some valid JATS constructs can cause Lens to add empty text nodes (and maybe other types of nodes as well?).
For example,
can lead to something like
which produces a sizable gap in the document due to the empty
.paragraph
subtree.It would be great if Lens could check if a node has content before injecting it. It seems like a well-placed check for length 0 should be enough, but I have trouble finding the right spot for it.
The text was updated successfully, but these errors were encountered: