···759759 title = path.Base(name)
760760 }
761761 alt := props["alt"]
762762- if alt == "" {
763763- alt = name
764764- }
765762766763 // make the childNode an image - if we can, we also place the alt
767764 childNode.Type = html.ElementNode
···771768 {Key: "src", Val: link},
772769 {Key: "title", Val: title},
773770 {Key: "alt", Val: alt},
774774- }
775775- if alt == "" {
776776- childNode.Attr = childNode.Attr[:2]
777771 }
778772 } else {
779773 if !absoluteLink {
···112112<h2 id="user-content-quick-links">Quick Links</h2>
113113<p>Here are some links to the most important topics. You can find the full list of pages at the sidebar.</p>
114114<p><a href="` + FullURL + `wiki/Configuration" rel="nofollow">Configuration</a>
115115-<a href="` + FullURL + `wiki/raw/images/icon-bug.png" rel="nofollow"><img src="` + FullURL + `wiki/raw/images/icon-bug.png" title="icon-bug.png" alt="images/icon-bug.png"/></a></p>
115115+<a href="` + FullURL + `wiki/raw/images/icon-bug.png" rel="nofollow"><img src="` + FullURL + `wiki/raw/images/icon-bug.png" title="icon-bug.png" alt=""/></a></p>
116116`,
117117 }
118118