email-gravatar: fix html syntax issues

* make ampersand a html entity
* add required alt attribute
* add required img end tag
Tento commit je obsažen v:
Christian Hesse
2014-01-14 12:01:58 +01:00
odevzdal Jason A. Donenfeld
rodič 46176eca7f
revize 1167dbb95b
2 změnil soubory, kde provedl 2 přidání a 2 odebrání

Zobrazit soubor

@ -15,7 +15,7 @@ function filter_open(email, page)
end
function filter_close()
html("<img src='//www.gravatar.com/avatar/" .. md5 .. "?s=13&d=retro' style='height:10pt;width:10pt'> " .. buffer)
html("<img src='//www.gravatar.com/avatar/" .. md5 .. "?s=13&amp;d=retro' style='height:10pt;width:10pt' alt='Gravatar' /> " .. buffer)
end
function filter_write(str)