close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


HTML Editor Adds Extra Tags - Breaks Email Formatting In Universal Email

Thread began 9/07/2011 2:22 pm by dlovas275157 | Last modified 9/08/2011 3:18 pm by Jason Byrnes | 1278 views | 4 replies |


HTML Editor Adds Extra Tags - Breaks Email Formatting In Universal Email

I have an issue occurring between HTML Editor and Universal Email.

If I add data via my insert/update forms with instances of HTML Editor installed, the textareas with HTML editor installed add a bunch of code as follows:

<html dir="ltr"><head><title></title></head><body>&#160;</body></html>

Even if the textarea is skipped and left blank, the database field contains the above.

It is adding this to the following text fields/areas in the attached form:
introParagraph, unitInfo, financialInfo, buildingInfo

This renders fine on the web, but the problem occurs when I use Universal Email to send the database listing in HTML format. The extra code breaks the HTML formatting when received in my email inbox.

Attached is my insert.php page code to help troubleshoot.

I am using:
HTML Editor 2.0.2
DataAssist 2.0.8
Universal Email inside CSS Form Builder 2.0.0

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

this code is added if you select the "Full Page Editing" option in the HTML Editor settings.

Edit the HTML Editor Instance. Click the Customize button next to the editor preset. On the General tab, uncheck the "Full Page editing" option.

Sign in to reply to this post



I followed your instructions, and then re-uploaded all include files, but the issue persists.

Could there be another cause?

Sign in to reply to this post


I deleted all instances, and then re-applied the HTML Editor with the setting your recommended, and it almost fixed it....

now it insists on inserting a space
#160; or <br> gets inserted when you skip the textarea. I need it to remain empty if skipped.

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code at line 1 to reset the posted value to empty if it is equal to either of those strings:


$_POST['editorField'] == " " || $_POST['editorField'] == "<br/>" || $_POST['editorField'] == "#160;" || $_POST['editorField'] == "\r\n") {
$_POST['editorField'] = "";

you will need to edit "editorField" to use the name of your HTML Editor instance.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...