fix: escape alt attr
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
40c2ba12f5
commit
8547856b76
|
@ -23,7 +23,7 @@ const comicPage = ({ alt, title, transcript, num, img }) => {
|
|||
<a class="${btnClass}" href="../${pad(num + 1, 4)}/index.html">Next <span class="gray">→</span></a>
|
||||
</nav>
|
||||
|
||||
<img src="./${basename(img)}" title="${alt}">
|
||||
<img src="./${basename(img)}" title="${alt.replace('"', '"')}">
|
||||
<p class="dn">${escapeHtml(transcript)}</p>
|
||||
${credits}
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue
Block a user