dirdesc in Local.pm displays an abstract of README file taken from the current directory.
Text is passed to sub markupstring where it is processed SEQUENTIALLY, first identifier, next files. When a file name can also be categorized as an identifier, processing is done twice, thus messing up the idref of the first path.
Also, link to the file is internally done instead of using fileref, resulting in no version in the link and no separator before the filename (thus a faulty full path). Moreover, since sub descreadme can be called for README and README.text, both filenames should be taken into consideration using an argument instead of the hard-coded README.
Log in to post a comment.