mirror of
https://github.com/bestnite/bilinovel-downloader.git
synced 2025-10-26 17:14:24 +00:00
Update templ dependency to v0.3.906 and adjust XML declaration formatting in templates
This commit is contained in:
@@ -3,7 +3,7 @@ package template
|
||||
import "bilinovel-downloader/model"
|
||||
|
||||
templ TocNCX(title string, head *model.TocNCXHead, navMap *model.NavMap) {
|
||||
@templ.Raw(`<?xml version="1.0" encoding="UTF-8"?>`)
|
||||
@templ.Raw(`<?xml version='1.0' encoding='utf-8'?>`)
|
||||
@templ.Raw(`<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">`)
|
||||
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
|
||||
if head != nil {
|
||||
|
||||
Reference in New Issue
Block a user