Wonderful mod! MOTM quality, IMHO!
I only have one issue thus far. The crosslinking feature can hijack portions of existing links. It should be disabled if the text is within an existing link. This can be witnessed in the link below, where the portion of the previous link (
The Shadow at the Bottom of the World) has a link to the glossary. Notice that the first segment of the text (
Thomas Ligotti - ") still refers to the original link. Also note that the closing quotation mark has been stripped from the hyperlink and displays as normal text.
http://www.ligotti.net/showthread.php?t=1373
I have tested the process on a link which included only the glossary entry text, and it did not take over the link. Therefore, I assume the problem will only appear when a subset of the text is within a link which includes additional text within the description.
UPDATE
Strangely, the crosslink is not active when the text is presented while enclosed within quotation marks. The example above apparently was not following this rule due to the hyperlink. I would like to disable this rule as well, since I am using the glossary to catalog an author's body of work, and many of the stories are enclosed within quotation marks when referenced throughout the site.