ZUGFeRD / mustangproject

Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)
http://www.mustangproject.org
Apache License 2.0
196 stars 112 forks source link

Additional file exports for visualizer no longer necessary? #426

Open seeeeew opened 1 month ago

seeeeew commented 1 month ago

When I use Mustang 2.12 CLI to convert an EN 16931 invoice to HTML, it also exports xrechnung-viewer.css and xrechnung-viewer.js, but the generated HTML contains no references to these files and works fine without them. I assume these files were necessary in earlier versions, but no longer are. If that is correct, you can probably just remove lines 854-862 from Main.java.

langfr commented 1 month ago

I'm using the ZUGFeRDVisualizer class inside of my app, not via CLI. But that's the same kind of use. The content of those two files, xrechnung-viewer.css and xrechnung-viewer.js, are embedded in the resulting html file and therefore not necessary as separate files to view the result.

jstaerk commented 1 month ago

ups, sorry, used to be differently