Fixed #463: angular brackets are now properly processed when switching from Visual to Preview.

This commit is contained in:
Dario Solera 2010-01-20 13:55:47 +00:00
parent 66c13cdce4
commit ceb228f937
3 changed files with 4 additions and 3 deletions

View file

@ -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("&lt;", "<").Replace("&gt;", ">");
txtMarkup.Text = ReverseFormatter.ReverseFormat(lblWYSIWYG.Text);
}
else {