Make resize point same as resize to ensure seamless images

This commit is contained in:
Kelvin Ly 2019-11-20 22:56:53 -05:00
parent ff90aa1f5f
commit 11436c5e9d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ func (r *renderer) Image(out *bytes.Buffer, link []byte, title []byte, alt []byt
writeSource := func() {
out.WriteString("<source srcset=\"")
attrEscape(out, link)
out.WriteString("\" media=\"(min-width: 1024px)\">")
out.WriteString("\" media=\"(min-width: 800px)\">")
}
// link to outside of this website
if bytes.HasPrefix(link, []byte("http")) {