Error when using standard unmodified skin with PP Mail set

HM5 served us well, now its time has come and it has been replaced... If you have HM5 questions, please post them here.

Moderators: Alexander Halser, Tim Green

Post Reply
vanwerkum
Posts: 192
Joined: Wed Oct 26, 2005 4:34 pm

Error when using standard unmodified skin with PP Mail set

Unread post by vanwerkum »

I'm using H&M Build 1014.

When I publish to HTML Help using an unmodified skin, e.g., simple_grey_horiz.hmskin, with the PP Mail feedback option set, the error per the attached is displayed on one topic.

Publishing to Webhelp does not have this problem.
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Unread post by Tim Green »

Hi Robert,

This is caused by quote characters in your topic caption or header. You just need to update Help & Manual to the current version (5.3 Build 1017) and also update the Premium Pack skins by downloading again from the same link you received in your purchase mail. The Premium Pack help chapter will be updated to "Premium Pack 1.22" in the main Help & Manual help when you do this.

The problem was caused by a change in the way "dangerous" characters like quotes are encoded in the HTML templates by Help & Manual itself. In earlier versions it was OK to load strings that might contain quotes directly into JavaScript in the templates, now it needs to be done differently and that is what the 1.22 update corrects.

You only need to be careful of one thing: If your email address string in the skin configuration variables contains an apostrophe you must escape it with a backslash, because that is the only place where it is not possible to "protect" against this character. For example, if your email address is "Robert's Company" <robert@company.com> you need to enter it as:

Code: Select all

"Robert\'s Company" <robert@company.com>
Normal quotes are OK, as shown in the example, you just need to escape single quotes/apostrophes. Any kinds of quotes are now fine in your topic headers, captions etc, you just need to escape single quotes in your email address string, nowhere else.
Post Reply