From ceb228f937f6e5a0f2555f50ed18f5b804e83447 Mon Sep 17 00:00:00 2001 From: Dario Solera Date: Wed, 20 Jan 2010 13:55:47 +0000 Subject: [PATCH] Fixed #463: angular brackets are now properly processed when switching from Visual to Preview. --- AssemblyVersion.cs | 4 ++-- Core/PagesStorageProvider.cs | 1 + WebApplication/Editor.ascx.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index 14ad7d6..1af5381 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.1.459")] -[assembly: AssemblyFileVersion("3.0.1.459")] +[assembly: AssemblyVersion("3.0.1.460")] +[assembly: AssemblyFileVersion("3.0.1.460")] diff --git a/Core/PagesStorageProvider.cs b/Core/PagesStorageProvider.cs index 1b6955c..54247b3 100644 --- a/Core/PagesStorageProvider.cs +++ b/Core/PagesStorageProvider.cs @@ -655,6 +655,7 @@ namespace ScrewTurn.Wiki { targetNamespace.DefaultPage = localPage; DumpNamespaces(allNamespaces); + namespacesCache = null; return new NamespaceInfo(targetNamespace.Name, this, targetNamespace.DefaultPage); } diff --git a/WebApplication/Editor.ascx.cs b/WebApplication/Editor.ascx.cs index 188d1bf..018ab2f 100644 --- a/WebApplication/Editor.ascx.cs +++ b/WebApplication/Editor.ascx.cs @@ -157,7 +157,7 @@ namespace ScrewTurn.Wiki { //if last view was WYSIWYG take text from WYSIWYG to Preview //in both cases I need to synchronize WYSIWYG and Markup view if(inWYSIWYG) { - lblPreview.Text = lblWYSIWYG.Text; + lblPreview.Text = lblWYSIWYG.Text.Replace("<", "<").Replace(">", ">"); txtMarkup.Text = ReverseFormatter.ReverseFormat(lblWYSIWYG.Text); } else {