mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Fix bug #8746: Images have to have alt tags.
This commit is contained in:
parent
c6a08bc442
commit
30d3fcd640
@ -2206,7 +2206,7 @@ docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const
|
|||||||
string const tag = (getType() == hullSimple) ? "span" : "div";
|
string const tag = (getType() == hullSimple) ? "span" : "div";
|
||||||
xs << html::CR()
|
xs << html::CR()
|
||||||
<< html::StartTag(tag)
|
<< html::StartTag(tag)
|
||||||
<< html::CompTag("img", "src=\"" + filename + "\"")
|
<< html::CompTag("img", "src=\"" + filename + "\" alt=\"Mathematical Equation\"")
|
||||||
<< html::EndTag(tag)
|
<< html::EndTag(tag)
|
||||||
<< html::CR();
|
<< html::CR();
|
||||||
success = true;
|
success = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user