1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-30 04:29:13 +01:00

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

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