From 933c1c9ca6b735ee416c2c2a740a02dd58a6c07e Mon Sep 17 00:00:00 2001 From: "R. Tyler Ballance" Date: Mon, 25 May 2009 15:48:59 -0700 Subject: Remove leading tabs to make sure we're going to properly parse the Markdown Signed-off-by: R. Tyler Ballance --- recipes/content/Basic_Inheritance.html | 4 +--- recipes/index.tmpl | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/recipes/content/Basic_Inheritance.html b/recipes/content/Basic_Inheritance.html index 6824280..8fe216d 100644 --- a/recipes/content/Basic_Inheritance.html +++ b/recipes/content/Basic_Inheritance.html @@ -351,9 +351,7 @@ border:dashed 1px #888; padding:6px; font-size:1.1em; color:#fff;}
-
        Basic Inheritance
-
-

=================

+

Basic Inheritance

diff --git a/recipes/index.tmpl b/recipes/index.tmpl index cd068b5..1e085ca 100644 --- a/recipes/index.tmpl +++ b/recipes/index.tmpl @@ -39,18 +39,18 @@ from the old Wiki #set content = $fd.readlines() #silent $fd.close() #set tmpl = Template(''' - #from Cheetah.Filters import Markdown - #import WikiRoot - #extends WikiRoot.WikiRoot - #attr PathPrefix = '../../' - #def pagename() - #return $PageName - #end def - - #def content - #transform Markdown - $recipe - #end def +#from Cheetah.Filters import Markdown +#import WikiRoot +#extends WikiRoot.WikiRoot +#attr PathPrefix = '../../' +#def pagename() + #return $PageName +#end def + +#def content +#transform Markdown +$recipe +#end def ''', searchList=[{'PageName' : $filepath.replace('.markdown', ''), 'recipe' : ''.join($content)}]) #set fd = open('%s%s' % ($ExecuteContentPath, $filepath.replace('.markdown', '.html')), 'w') #silent fd.write(unicode(tmpl).encode('utf-8')) -- cgit v1.2.1