jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mets...@apache.org
Subject svn commit: r916998 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/PageNameTag.java
Date Sat, 27 Feb 2010 17:36:23 GMT
Author: metskem
Date: Sat Feb 27 17:36:23 2010
New Revision: 916998

URL: http://svn.apache.org/viewvc?rev=916998&view=rev
Log:
clean away the Wiki space name before outputting

Modified:
    incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/PageNameTag.java

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/PageNameTag.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/PageNameTag.java?rev=916998&r1=916997&r2=916998&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/PageNameTag.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/tags/PageNameTag.java Sat Feb 27 17:36:23
2010
@@ -52,7 +52,7 @@
             }
             else
             {
-                pageContext.getOut().print( engine.beautifyTitle( page.getPath() ) );
+                pageContext.getOut().print( engine.beautifyTitle( page.getName() ) );
             }
         }
 



Mime
View raw message