You are not logged in.
Pages: 1
My online application allows a user to create an online email with the Xinha editor. This email needs to contain a link to the same site which hosts the application. After updating the content in the editor, the base url is stripped from the link.
I tried to add the folllowing with no success. What other settings should be changed?
xinha_config.stripBaseHref = false; // Switch on/off BaseHref Stripping
xinha_config.baseHref = null; // if stripBaseHref= true, define URL that will be stripped
xinha_config.stripSelfNamedAnchors = false;
Browser - IE 7.0.5730.11
No errors reported
Procedure
1. addded text that eventually creates an email containing a hyperlink instructing users to take training by clicking a link
Example: To take training click here.
2. Click here references a hyperlink such as: <a href="www.training.com"> click here.</a>
3. The file is saved and the link is translated to: <a href="/"> click here.</a>
Last edited by dsweet (2010-06-07 17:42:10)
Offline
expandRelativeUrl maybe?
You may (probably) be better to "correct" the urls when you get the HTML to the server using some regex work.
Note in your example above though, that www.training.com is invalid, you are missing http://
James Sleeman
Offline
Pages: 1