Josdelsan / Proteus

Proteus is a configurable tool for editing structured documents, based on the concept of archetypes.
BSD 3-Clause "New" or "Revised" License
28 stars 3 forks source link

HTML generated in .proteus does not resolve local resources when opened in a browser #29

Closed amador-duran-toro closed 1 week ago

amador-duran-toro commented 2 weeks ago

When developing XLST stylesheets, sometimes is necessary to inspect the HTML elements generated using a browser like Firefox or Chrome. This can be done only by exporting the current document as HTML and opening it in a browser. If the HTML file in .proteus is opened, all the local resources (i.e. CSS, graphics files, etc.) cannot be resolved and, therefore, it is useless for XSLT debugging. Maybe is just a matter of adding file:/// as the URL prefix.