cceh / sanskrit-web

An HTML frontend to Sanskrit dictionaries modelled in TEI.
ISC License
1 stars 2 forks source link

Full stops are not displayed in Sanskrit words #56

Open fxru opened 9 years ago

fxru commented 9 years ago

Devanagari punctuation (U+0964) and (U+0965) are not displayed in the examples in pwg.

the xml

<w xml:lang="san-Latn-x-SLP1">sApi</w>
<w xml:lang="san-Latn-x-SLP1">tatprASanAdeva</w>
<w xml:lang="san-Latn-x-SLP1">citraketoraDArayat</w> 
 . 
<w xml:lang="san-Latn-x-SLP1">garBaM</w>
<w xml:lang="san-Latn-x-SLP1">kftadyutirdevI</w>
<w xml:lang="san-Latn-x-SLP1">kfttikAgnerivAtmajam</w>
 .. 
<cit type="literary_source">
    <bibl xml:lang="san-Latn-x-CSDL">BHA10G. P. 6, 14, 30.</bibl>
</cit>

is rendered as

punctuation

I'm not sure how easy it is to catch the right . in this context. Any . following an SLP1 word might be too greedy, maybe only between two SLP1 words, although that might miss something. On the other hand, I am quite certain that any .. following an SLP1 word should become (U+0965).