You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be that the alt value gets populated with this value, and a quotation mark inside the alt value will close it prematurely. Jekyll seems to pick up on this problem and pre-emptively and uselessly converts the angle brackets into hex values. Here's an example of the generated html:
<a href="https://archive.org/details/tableaudesfinanc00slsn" title="Figure 1. "Tableau des Finances et du Commerce de la partie Françoise de St. Domingue," 1792 (detail). Copy in the John Carter Brown Library, Brown University." target="_blank">
<img src="/sxarchipelagos/images/issue03/nesbitt-1.jpg" alt="Figure 1. "Tableau des Finances et du Commerce de la partie Françoise de St. Domingue," 1792 (detail). Copy in the John Carter Brown Library, Brown University."/>
</a>
The text was updated successfully, but these errors were encountered:
In honor of the persistent criminality of quotation marks here's a list of uses of quotation marks. We can transfer the list to a wiki page later, once this issue is out. That wiki page could be documentation on markup standards that work with our system:
In YAML on the header: Solution is to use block scalars using >. The block itself should use spaces not tabs, and begin two spaces from the key indent.
{% include image.html
img="issue03/nesbitt-1.jpg"
title='Figure 1. "Tableau des Finances et du Commerce de la partie Françoise de St. Domingue," 1792 (detail). Copy in the John Carter Brown Library, Brown University.'
caption='Figure 1. "Tableau des Finances et du Commerce de la partie Françoise de St. Domingue," 1792 (detail). Copy in the John Carter Brown Library, Brown University.'
url="https://archive.org/details/tableaudesfinanc00slsn" %}
produces:
in pdf
in jekyll
Internal quotes in subject matter should therefore be used as ", and should have single quotes as the string demarcation. (Double quotes normally for string demarcation though)
The issue seems to be that the alt value gets populated with this value, and a quotation mark inside the alt value will close it prematurely. Jekyll seems to pick up on this problem and pre-emptively and uselessly converts the angle brackets into hex values. Here's an example of the generated html:
The text was updated successfully, but these errors were encountered: