Skip to content

Commit

Permalink
serialize line types in pagexml output
Browse files Browse the repository at this point in the history
  • Loading branch information
mittagessen committed Jul 8, 2024
1 parent 7f322f0 commit 3e7889b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kraken/templates/pagexml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%+ macro render_line(line) +%}
<TextLine id="{{ line.id }}">
<TextLine id="{{ line.id }}" {% if line.tags and "type" in line.tags %}custom="structure {type:{{ line.tags["type"] }};}"{% endif %}>
{% if line.boundary %}
<Coords points="{% for point in line.boundary %}{{ point|join(',') }}{% if not loop.last %} {% endif %}{% endfor %}"/>
{% endif %}
Expand Down

0 comments on commit 3e7889b

Please sign in to comment.