Fix bug #8746: Images have to have alt tags.

This commit is contained in:
Richard Heck 2013-06-12 17:24:59 -04:00
parent c6a08bc442
commit 30d3fcd640

View File

@ -2206,7 +2206,7 @@ docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const
string const tag = (getType() == hullSimple) ? "span" : "div";
xs << html::CR()
<< html::StartTag(tag)
<< html::CompTag("img", "src=\"" + filename + "\"")
<< html::CompTag("img", "src=\"" + filename + "\" alt=\"Mathematical Equation\"")
<< html::EndTag(tag)
<< html::CR();
success = true;