@@ 35,7 35,7 @@ const convert = (dom, title) => {
const emitLink = link => {
let desc = sanitize(link.innerHTML);
if (desc === "") {
- const img = el.querySelector("img");
+ const img = link.querySelector("img");
if (img) {
desc = `${img.alt ? " " + img.alt : ""}\n\n`;
}