close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


encode html entities | unaddressed!!!

Thread began 2/01/2011 10:39 am by robert254422 | Last modified 2/01/2011 11:27 am by Jason Byrnes | 1027 views | 3 replies |


encode html entities | unaddressed!!!


Using html editor 3.0
formatting presets are: encode both + encode html entities turned on

When directly typing | character inside the editor this character does not get encoded... In combination with update and insert actions on that page you get mad errors because of the unaddressed | character... It also does not get encoded when inserted using the insert special characters feature...

When | is added as additional to encode character in the settings... It does nothing when typed directly in to the editor and generates a undefined message in the source code of the item when inserted using the insert special character feature...

| Is not the type of character I would like to leave unaddressed in an advanced html editor that has to work in forms that have insertion or update actions (built with data assist by the way)...

I really hope you can fix this asap because for me this is a major reason to stop using this product since my form actions get messed up because of it.. I believe I tried every possible combination inside the formatting settings but don't want to rule out myselve as the cause completely so if I missed something...

Otherwise very pleased with the editor and WA products in general...


Sign in to reply to this post

Jason ByrnesWebAssist

add the following code at line 1 of your insert and update page:

if(!empty($_POST)) {
$_POST as $key => $value) {
$_POST[$key] = str_replace("|""|"$value);

to correct the issue.

hmmm, the forum is encoding the pipe html entoty.

in this line:
$_POST[$key] = str_replace("|", "|", $value);

the second pipe should be "& # 1 2 4 ;" (Without the space between each character, i left them in so it would not get encoded).

Sign in to reply to this post


TYVM for the quick reply... Suggestion works...

To be clear... When | was added as additional to encode character in editor settings and then typed straight in to the editor it actually also gets changed to undefined and not like I stated before leaves it as it was... So atleast adding it made the | harmless to the insert and update functions...

For your advice to work I first had to remove the added | as additional to encode character from the settings of the editor...


Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it is working.

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...