General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › How to insert an ampersand (&) in a file to be used as a footer for webhelp
-
Anonymous March 1, 2011 at 1:45 pm
How to insert an ampersand (&) in a file to be used as a footer for webhelp
March 1, 2011 at 1:45 pmParticipants 1Replies 2Last Activity 12 years, 1 month agoHi
If the footer file I use when generating webhelp includes an '&' character, the file is not included by the Webhelp generator.
For example if the following line of script is in the footer file, that file does not get included:
function mail(){parent.location = 'mailto:[email protected]?Subject=Feedback &body= some text'
;}Remove the '&' and it does get included, but of course the mailto line is not now what I want.
I have tried replacing the & with %26, but the replacement of %26 by '&' comes in too late and the '&' becomes just another part of the mail subject.
How should I specify the ampersand in the footer file?
Best regards,|
Petepebraham March 2, 2011 at 2:38 pm
Reply to: How to insert an ampersand (&) in a file to be used as a footer for webhelp
March 2, 2011 at 2:38 pmSu-Laine Yeo March 4, 2011 at 6:43 pm
Reply to: How to insert an ampersand (&) in a file to be used as a footer for webhelp
March 4, 2011 at 6:43 pm -
AuthorPosts
- You must be logged in to reply to this topic.