Fix empty path to CSS

This commit is contained in:
Pierre Neidhardt 2016-07-01 18:13:21 +02:00
parent 3575453f08
commit 20aa621387

View File

@ -748,7 +748,7 @@ func (r *HTMLRenderer) writeDocumentHeader(w *bytes.Buffer, sr *SPRenderer) {
w.WriteString(">\n")
if r.CSS != "" {
w.WriteString(" <link rel=\"stylesheet\" type=\"text/css\" href=\"")
attrEscape([]byte(r.CSS))
w.Write(attrEscape([]byte(r.CSS)))
w.WriteString("\"")
w.WriteString(ending)
w.WriteString(">\n")