[Lxr-dev] [ lxr-Bugs-3290843 ] Bad button with files starting with an 'a'
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2011-04-21 07:56:36
|
Bugs item #3290843, was opened at 2011-04-21 09:56 Message generated for change (Tracker Item Submitted) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3290843&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: current cvs Status: Open Resolution: None Priority: 7 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: Bad button with files starting with an 'a' Initial Comment: Trying to display a source file whose name starts with an 'a' causes an erroneous "diff markup" button to be generated. Cause is inside modelink2button sub where the link from file fileref is transformed into a <form>. The closing </a> tag becomes </button></form>. But the regexp only contains /a which may also match the beginning of a filename. To prevent this behaviour, use the full tag </a> in the regexp. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3290843&group_id=27350 |