Open tcatapano opened 6 years ago
E.g., see 166r "long—buried" etc... Seems to be a result of conversion from xml to md as hyphen is used in GDrive (https://docs.google.com/document/d/1mM1YRU3eSGWJXapbYtibWg00NsG1HnY2ZtsFgk0S0bs) and is also present in derived XML (https://github.com/cu-mkp/ms-xml/blob/master/tl/tl_p166r_preTEI.xml). Also renders properly in DCE (http://edition.makingandknowing.org/#/?m=l&sr=0.50&l=f337,tc,i,0&r=f337,tl,t,0).
This is likely the culprit: https://github.com/cu-mkp/ms-xml/blob/master/xslt/entry-to-md.xsl#L269
<xsl:template match="text()">
<xsl:value-of select="replace(replace(replace(., '-', '—'), '\s+', ' '), '\+', '\\+')"/>
</xsl:template>
per Tillmann: