close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Editor instance displaying HTML tags in text

Thread began 8/20/2018 7:08 am by MagsW | Last modified 9/07/2018 2:36 pm by Ray Borduin | 57 views | 14 replies |

MagsW

HTML Editor instance displaying HTML tags in text

I created DataAssist pages using a mySQLi connection, but the HTML Editor instance on the page is showing any HTML tags as text - so for example if I put in a couple of line breaks, it displays on the page as:

...end of paragraph.<br /> <br />Next paragraph...

Any idea what might be causing this?

Sign in to reply to this post

Ray BorduinWebAssist

Yes. I've added HTML Injection protection to the mySQLi recordsets so that HTML isn't displayed by default. However that can be overridden. Please attach your page to a reply and I can show you the line to replace.

Sign in to reply to this post

MagsW

Great thanks Ray, insert & update pages are attached.

Sign in to reply to this post

Ray BorduinWebAssist

The insert page is fine. The update page on line 124 has:

php:
$CKEditor_initialValue = "".($WADAFAQ_update->getColumnVal("Answer"))  ."";



If you have the latest version, I think the code should be:

php:
$CKEditor_initialValue = "".($WADAFAQ_update->getColumnVal("Answer",false))  ."";
Sign in to reply to this post

MagsW

I made that change but it's still including HTML tags in the text. I also tried the insert page and it's doing the same thing.

Sign in to reply to this post

MagsW

I meant to say I am using the latest Beta version 2.1.0

Sign in to reply to this post

Ray BorduinWebAssist

Try:

php:
$CKEditor_initialValue = "".($WADAFAQ_update->getColumnVal("Answer",true))  ."";



I've gone back and forth using true or false to disable html encoding, so your version might need true.

Sign in to reply to this post

MagsW

That didn't work either. Details in PM section.

Sign in to reply to this post

Ray BorduinWebAssist

Please post FTP access information and I'll take a look. I want to check the rsobj.php version you are using.

Sign in to reply to this post

MagsW

see PM.

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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