Articles in public preview are not showing language prefix
Opened this issue · 1 comments
All articles in public preview (http://www.digitalhumanities.org/dhq/preview/index.html) are missing their language prefix except 000658.xml. We should check to see whether there's a separate Preview stylesheet that handles the logic of prefix display differently.
I was able to identify and fix the error that was causing 000658 to be handled differently, so all articles in public preview are now being handled the same way (but none of them are displaying a language tag). The problem was a test written like this:
<xsl:if test="//tei:title/@xml:lang != 'en'">
which fell afoul of non-English titles in the bibliography. So now we just need to figure out why no language tags are showing for articles in public preview.