Update templ dependency to v0.3.906 and adjust XML declaration formatting in templates

This commit is contained in:
2025-07-16 21:02:15 +08:00
parent 042b383988
commit ca3fdf8980
11 changed files with 21 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
package template
templ ContainerXML() {
@templ.Raw(`<?xml version="1.0" encoding="UTF-8"?>`)
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
@templ.Raw(`<?xml version='1.0' encoding='utf-8'?>`)
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
<rootfiles>
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"></rootfile>
</rootfiles>