OK I do have a problem altho its not quite what I thought earlier.
What I have found is that I set the editor.Text in the .NET code my HTML is being mangled here!
I set the text to the below, then check the .text property in the VS Text Visualiser and its mangled the HTML to the version I pasted previously. The old editor is working OK, when I quickly tested it in the previous post I had pasted the mangled html into the source view and it showed nothing. However when setting the text with the below it leaves it alone and it shows correctly at the browser.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>[acms:pagetitle ]</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta content="[acms:navtitle ]" name="Navigation_Title" /><!-- "Description" -->
<meta content="[acms:keywords ]" name="Keywords" />
<meta content="[acms:description ]" name="Description" />
<meta content="D CBM (A)" name="Owner" />
<meta content="[acms:fullname ]" name="Content_Contact" />
<meta content="[acms:telephone ]" name="Telephone" />
<meta content="[acms:email ]" name="Email" />
<meta content="Unclassified" name="Protective_Marking" />
<meta content="Releaseable" name="FOI_Status" />
<meta content="UK Crown Copyright" name="Copyright" /><!-- Anti - Caching tags -->
<meta content="noarchive" name="robots" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta content="noarchive" name="googlebot" />
<meta http-equiv="expires" content="Sat, 01 Jan 2000 00:00:00 GMT" />
<style type="text/css">
<!--
[acms:styles]
body {
font-family:Arial, Helvetica, sans-serif;
font-size:small;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color:#ffffff;}
@media print{
body{ background-color:#FFFFFF; background-image:none; color:#000000 }
#header{ display:none;}
#navigation{ display:none;}
#maincontent{ width:100%;}
#footer{ display:none;}
}
//-->
</style>
<style>
a.topmenubar:link
{
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 0.90em;
margin: 1.0em 0em 1.0em 0em;
padding: 0 5px 0px 5px;
}
a.topmenubar:visited
{
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 0.9em;
margin: 1.0em 0em 1.0em 0em;
padding: 0 5px 0px 5px;
}
a.topmenubar:hover
{
text-decoration: none;
font-weight: bold;
color: #cccccc;
font-size: 0.9em;
margin: 1.0em 0em 1.0em 0em;
padding: 0 5px 0px 5px;
}
a.topmenubar:active
{
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 0.9em;
margin: 1.0em 0em 1.0em 0em;
padding: 0 5px 0px 5px;
}
</style>
<link href="[acms:template field=stylesheet]" type="text/css" rel="stylesheet" />
<script type="text/javascript"><!---
[acms:scripts]
//--></script></head>
<body>
<div style="background-image: url(https://www.armycms.mod.local/site/previewfile.ashx?id=3033); width: 100%; height: 95px; background-position: initial initial; background-repeat: initial initial;"><img style="float: right" alt="logo" src="previewfile.ashx?id=3031" /> <img alt="logo" src="previewfile.ashx?id=3032" />
<div style="left: 0px; position: absolute; top: 58px;"> <a class="topmenubar" href="/@@autolink/429@@@">Home </a> <a class="topmenubar" href="https://www.armycms.mod.uk/">Log In </a> <a class="topmenubar" href="/@@autolink/884@@@">News </a> <a class="topmenubar" href="/@@autolink/883@@@">Training </a> </div>
</div>
<table cellpadding="0" width="100%">
<tr>
<td id="maincontent">
<table style="background-color: #ffffff" cellspacing="10" cellpadding="10" width="100%" border="0">
<tr>
<td><!-- MAIN CONTENT START-->[acms:html]<!-- MAIN CONTENT END--> </td>
</tr>
</table>
<!-- FOOTER START -->
<table id="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td valign="top" align="left" width="100%">
<div id="print" style="text-align: center"></div>
</td>
</tr>
</table>
<!-- FOOTER END --></td>
</tr>
</table>
</body>
</html>