HTML Editor removing in line style
When I center text in the editor, then submit it, it is removing the center formatting. I made a generic page and pasted the code below. It is also available at:
centertest/
After you center the text, if you click the view source button, it shows:
<p style="text-align: center;">TEST</p>
After you submit, it shows:
<p style="">TEST</p>
-------------
<?php require_once("../HTMLEditor/WARichEditorPHP.php"); ?>
<body>
<p style="text-align: center;">This text is centered.</p>
<? $datastuff=$_POST['datastuff'];
echo $datastuff; ?><BR /><BR /><BR />
<form action="" method="post" name="form1">
<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("datastuff", "../HTMLEditor/", "100%", "200px", "Default", "../custom/jamie_datastuff1.js", "$datastuff");
?>
<input name="Submit" type="submit" />
</form>
</body>
</html>