Fixed #463: angular brackets are now properly processed when switching from Visual to Preview.
This commit is contained in:
parent
66c13cdce4
commit
ceb228f937
3 changed files with 4 additions and 3 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("3.0.1.459")]
|
[assembly: AssemblyVersion("3.0.1.460")]
|
||||||
[assembly: AssemblyFileVersion("3.0.1.459")]
|
[assembly: AssemblyFileVersion("3.0.1.460")]
|
||||||
|
|
|
@ -655,6 +655,7 @@ namespace ScrewTurn.Wiki {
|
||||||
|
|
||||||
targetNamespace.DefaultPage = localPage;
|
targetNamespace.DefaultPage = localPage;
|
||||||
DumpNamespaces(allNamespaces);
|
DumpNamespaces(allNamespaces);
|
||||||
|
namespacesCache = null;
|
||||||
|
|
||||||
return new NamespaceInfo(targetNamespace.Name, this, targetNamespace.DefaultPage);
|
return new NamespaceInfo(targetNamespace.Name, this, targetNamespace.DefaultPage);
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,7 @@ namespace ScrewTurn.Wiki {
|
||||||
//if last view was WYSIWYG take text from WYSIWYG to Preview
|
//if last view was WYSIWYG take text from WYSIWYG to Preview
|
||||||
//in both cases I need to synchronize WYSIWYG and Markup view
|
//in both cases I need to synchronize WYSIWYG and Markup view
|
||||||
if(inWYSIWYG) {
|
if(inWYSIWYG) {
|
||||||
lblPreview.Text = lblWYSIWYG.Text;
|
lblPreview.Text = lblWYSIWYG.Text.Replace("<", "<").Replace(">", ">");
|
||||||
txtMarkup.Text = ReverseFormatter.ReverseFormat(lblWYSIWYG.Text);
|
txtMarkup.Text = ReverseFormatter.ReverseFormat(lblWYSIWYG.Text);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue