#185 sub dirdesc doesn't always return a value

Browsing (93)

sub dirdesc in Local.pm is used to synthesize a description of a directory to display it in the listing. If it does not find a README.* file, it returns no value (i.e. = undefined). Content of the description table cell is then empty and browsers may delete the cell. Since the cell is not rendered, CSS decoration is not applied.

To keep the cell (i.e. to be able to render at least a border and a background), sub dirdesc should return a "neutral" value in the no README case like a non-braking space (HTML &nbsp).


  • Andre-Littoz

    Andre-Littoz - 2011-06-11

    This has now been fixed in CVS.

    If you can install the new version and check that it solves your
    problem, then it would be very useful.

    Thanks for reporting this defect and helping to make LXR better.

  • Andre-Littoz

    Andre-Littoz - 2011-06-11
    • status: open --> closed-fixed
  • Andre-Littoz

    Andre-Littoz - 2011-06-11

    Added: return " "; as last statement in dirdesc


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks