?> <br/> <button type="submit">Submit</button> </div> <br/> <h3>HTML:</h3> <textarea style="height:120px;width:760px;"><?php if (@$_POST["Editor1"] != "") { echo htmlentities($rte->Text); } ?> </textarea> <br /> <h3>PlainText:</h3> <textarea style="height:120px;width:760px;"><?php if (@$_POST["Editor1"] != "") { echo RTEUtil::ExtractPlainTextOutOfHtml($rte->Text); } ?> </textarea> <br /> <h3>PlainText with line feeds:</h3> <textarea style="height:120px;width:760px;"><?php if (@$_POST["Editor1"] != "") { echo RTEUtil::ExtractPlainTextWithLinefeedsOutOfHtml($rte->Text); } ?> </textarea> </form> </body> </html>