tweak pic rendering a bit

This commit is contained in:
りき萌 2024-02-07 11:35:08 +01:00
parent 3b06d70020
commit 5d63140cf3
2 changed files with 8 additions and 1 deletions

View file

@ -292,7 +292,7 @@ where
self.write("\">")
}
Tag::Image(_link_type, dest, title) => {
self.write("<img src=\"")?;
self.write("<img class=\"pic\" src=\"")?;
escape_href(&mut self.writer, &dest)?;
self.write("\" alt=\"")?;
self.raw_text()?;