close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Printing off shows all html

Thread began 3/15/2011 1:59 am by J7HNW | Last modified 3/15/2011 1:22 pm by Jason Byrnes | 1085 views | 4 replies |

J7HNW

Printing off shows all html

I am using HTML Editor in Univeral E Mail to send out price increase letters to a database.

Please see attached

1. The font is set to Tahoma but has not formatted correctly on the email (see screenshot ) > If you view the HTML Code you will see this has been set to Tahoma

2. When you print off the e mail - all the HTML TAGS show on the print off. CAn I stop this form happening so the e mail arrived in a printable format ?

How can I Solve these please

Thank you in advance

Attached Files
Webassist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

if you look closely at the html it is not properly formatted.

for example, I see:

<SPAN style=""font-family: " tahoma;\?>


there is an extra quote in this and the style is not inside the first set of quotes, it should be:
<SPAN style="font-family: tahoma;">


I see that for all of the styles on this page.

Sign in to reply to this post

J7HNW

Thanks but...

Thanks Jason - but this is all being formatted by HTML Editor.

Why is it not formatting properly then ? My client says he typed in Tahoma and sent the mail which came through as shown.

When you print it off - all HTML shows on the page. Is this a bug then on the latest version of HTML Editor ?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Jason ByrnesWebAssist

the issue was caused by the magic-quotes_gpc setting being turned on in the php.ini file.

we resolved by using stripslashes() on the form output.


to prevent the problem in the future I recommended using the following script at line 1 of the form page:

php:
<?php

if($_SERVER["REQUEST_METHOD"] == "POST")     {
    foreach(
$_POST as $key => $val) {
        
$_POST[$key] = stripslashes($val);
    }
}
?>
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

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