I&#39;ve used this before - perhaps it will work for you:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><a href="http://ckeditor.com/">http://ckeditor.com/</a><br>

</blockquote><br>cheers<br>-nw<br><br><div class="gmail_quote">On Mon, Apr 11, 2011 at 5:28 AM, John M. Dlugosz <span dir="ltr">&lt;<a href="mailto:wxju46gefd@snkmail.com">wxju46gefd@snkmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a form where an admin can change a part of the content on a page.  The form lets someone do it without having to update the files on the server in a more traditional manner; BUT, it must be correct XHTML.  If the admin types a &lt;p&gt; or a stray &#39;&lt;&#39; for that matter, it will render the resulting page not well-formed.<br>


<br>
Combine that with the feature of serving XHTML to browsers that accept it, and the site breaks on browsers other than IE.<br>
<br>
What&#39;s a good way to validate something programmatically before committing it?  Better yet, is there a rich editor or wiki- or phpbbs-like translator that I might use for soliciting the input that I might use instead?<br>


<br>
The current content has a couple paragraphs and a bulleted list.  So it&#39;s not just a simple blank, but must allow an amount of rich content.<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br>