ocsigen / html_of_wiki

Other
6 stars 3 forks source link

Add accessibility attibute in a_img. #113

Open leovalais opened 5 years ago

leovalais commented 5 years ago

https://github.com/ocsigen/html_of_wiki/blob/8f562aefe56f4949364e6af99b0226807c6a0c7a/src/links.ml#L47-L53

The Html.img's alt attribute is set to the filename instead of the content's text.