s1seven / schema-tools

Tools to create, validate and render certificates using Material Identity JSON schemas
https://materialidentity.org/
Apache License 2.0
1 stars 1 forks source link

bug: section title not rendered in HTML for `OtherMechanicalTests` #199

Closed stiebitzhofer closed 1 year ago

stiebitzhofer commented 1 year ago

Description

What keywords did you search in schema-tools issues before filing this one ?

Is this a BUG REPORT or FEATURE REQUEST ? BUG

Environment: EN 10168 Schema version 0.4.1 on https://app.s1seven.com/

What you expected to happen: The section title given for the object OtherMechanicalTests is not rendered in HTML. It is rendered correctly in PDF.

In addition, it is rendered at a different position on the HTML; it should be put before the chemical analysis.

"OtherMechanicalTests": { "C50": { "Key": "Verfestigungsversuch", "Value": "0.223", "Unit": "n-Wert", "Type": "number" } }

Rendering HTML:

Bildschirm­foto 2023-02-23 um 15 04 21

Rendering PDF:

Bildschirm­foto 2023-02-23 um 15 07 06

How to reproduce it: The used JSON can be shared private on request.