cceh / sanskrit-web

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

References without targets are not handled #61

Open gioele opened 9 years ago

gioele commented 9 years ago

References made via <tei:ref> will make the controller crash because it expects some kind of attribute that is not there.

The lack of target attributes should be handled gracefully, maybe showing a broken link icon or just logging the problem.

For example, nils could be substituted with references to a well known non-resolvable URI.