incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Courtin (JIRA)" <j...@apache.org>
Subject [jira] Created: (JSPWIKI-28) Link not handled correctly when | not present.
Date Fri, 09 Nov 2007 09:11:50 GMT
Link not handled correctly when | not present.
----------------------------------------------

                 Key: JSPWIKI-28
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-28
             Project: JSPWiki
          Issue Type: Bug
          Components: Core & storage
    Affects Versions: 2.6.0
         Environment: Tested on JSPWIKI 2.5.151-cvs  (http://www.jspwiki.org/)
            Reporter: Laurent Courtin


This link work   : [Test  | Wikipedia:Test]   

This link doesn't work : [Wikipedia:Test]   

I have corrected in my own CVS extraction in LinkParser.java :

# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: JSPWiki/src/com/ecyrd/jspwiki/parser/LinkParser.java
--- JSPWiki/src/com/ecyrd/jspwiki/parser/LinkParser.java Base (1.6)
+++ JSPWiki/src/com/ecyrd/jspwiki/parser/LinkParser.java Locally Modified (Based On 1.6)
@@ -362,6 +362,7 @@
         protected Link( String text ) throws ParseException
         {
             setText(text);
+            setReference(text);
         }
 
         /**

Regards,


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message