|
@ -205,7 +205,7 @@ class HTMLGenerator(OutputGenerator): |
|
|
HTMLGenerator(fake_out, self.katexClient, self.imageProcessor).generate(e.content) |
|
|
HTMLGenerator(fake_out, self.katexClient, self.imageProcessor).generate(e.content) |
|
|
attributes["alt"] = fake_out.getvalue() |
|
|
attributes["alt"] = fake_out.getvalue() |
|
|
|
|
|
|
|
|
if len(srcset) != 0: |
|
|
if len(srcset) > 1: |
|
|
attributes["src"] = srcset[-1][0] |
|
|
attributes["src"] = srcset[-1][0] |
|
|
attributes["srcset"] = ", ".join([" ".join(src) for src in srcset]) |
|
|
attributes["srcset"] = ", ".join([" ".join(src) for src in srcset]) |
|
|
else: |
|
|
else: |
|
|