Merge pull request #275 from Ambrevar/v2css

v2: Fix empty path to CSS
This commit is contained in:
Vytautas Šaltenis 2016-07-02 10:37:00 +03:00 committed by GitHub
commit ab20da6e27
1 changed files with 1 additions and 1 deletions

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")