From d2969a7fa4188247baf0c0585878982c680badcb Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 27 Nov 2008 01:43:22 +0000 Subject: [PATCH] BUGFIX If WYSIWYG editing enabled, don't attempt to parse the content, just return the HTML instead MINOR HTML code formatting in BlogEntry.ss --- templates/Layout/BlogEntry.ss | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/templates/Layout/BlogEntry.ss b/templates/Layout/BlogEntry.ss index 9551141..d5c2bfb 100644 --- a/templates/Layout/BlogEntry.ss +++ b/templates/Layout/BlogEntry.ss @@ -3,18 +3,22 @@ <% include BreadCrumbs %>
-

$Title

-

<% _t('POSTEDBY', 'Posted by') %> $Author.XML <% _t('POSTEDON', 'on') %> $Date.Long | $Comments.Count <% _t('COMMENTS', 'Comments') %>

- <% if TagsCollection %> -

- <% _t('TAGS', 'Tags:') %> - <% control TagsCollection %> - <% if Last %><% else %>,<% end_if %> - <% end_control %> -

- <% end_if %> +

$Title

+

<% _t('POSTEDBY', 'Posted by') %> $Author.XML <% _t('POSTEDON', 'on') %> $Date.Long | $Comments.Count <% _t('COMMENTS', 'Comments') %>

+ <% if TagsCollection %> +

+ <% _t('TAGS', 'Tags:') %> + <% control TagsCollection %> + <% if Last %><% else %>,<% end_if %> + <% end_control %> +

+ <% end_if %> + <% if IsWYSIWYGEnabled %> + $Content + <% else %> $ParsedContent -
+ <% end_if %> +
<% if CurrentMember %>

<% _t('EDITTHIS', 'Edit this post') %> | <% _t('UNPUBLISHTHIS', 'Unpublish this post') %>

<% end_if %>