You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/08 04:38:46 UTC

svn commit: r1565904 - in /myfaces/site/cms-site/trunk: content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext lib/view.pm

Author: lu4242
Date: Sat Feb  8 03:38:46 2014
New Revision: 1565904

URL: http://svn.apache.org/r1565904
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext
    myfaces/site/cms-site/trunk/lib/view.pm

Modified: myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext?rev=1565904&r1=1565903&r2=1565904&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext (original)
+++ myfaces/site/cms-site/trunk/content/wiki/core/user-guide/jsf-and-myfaces-howtos.mdtext Sat Feb  8 03:38:46 2014
@@ -2,7 +2,7 @@ Title: JSF and MyFaces Howtos
 Pagetree: pagetree
 
 {{ ttitle }}
-{{ pagetree }}
+{{ pagetree|safe }}
 
 Below you can find solutions to common problems in JSF and MyFaces
 

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1565904&r1=1565903&r2=1565904&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb  8 03:38:46 2014
@@ -50,8 +50,7 @@ sub single_narrative {
         my $page_path = "content$ptdir$ptfile/";
         $args{ttitle} = "Page tree generated $page_path";
         if (-d $page_path) {
-            my $pageTreeRendered = pagetree($page_path);
-            $args{pagetree} = $pageTreeRendered;
+            $args{pagetree} = pagetree($page_path);
         } else {
             $args{pagetree} = pagetree($ptdir);
         }