Fix bug: can handle empty text nodes in Xournal++
This commit is contained in:
parent
236f52c7dd
commit
f6f90171a5
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ description <{{output_namespace}}#> as {{shorthand}} {
|
|||
]
|
||||
|
||||
{%- for el_index, el in enumerate(layer.elements) %}
|
||||
{%- if not minimal or el.__class__.__name__ == "Text" %}
|
||||
{%- if not minimal or el.__class__.__name__ == "Text" and el.text != None %}
|
||||
|
||||
ci p{{page_index}}l{{layer_index}}e{{el_index}} : xopp:{{el.__class__.__name__}} [
|
||||
xopp:hasText {{el.text | to_oml_string_literal}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue