Can't add relative web link in TOC (RH 2017)
Hi,
Using RH 2017, I am trying to add a web link in the TOC (top level) as a relative link. I am generating Responsive output using Charcoal Grey layout.
If I add a new TOC page with just the relative link (i.e. ../../blahblah.htm) the link becomes corrupted on generation, and RH changes it to ..\\..\\blahblah.htm
Is there a way to prevent RH from altering the link?
Experiments I have tried:
- Enter the link as Link to Web Address http://../../blahblah.htm, then remove the http:// from the url and generate.
This makes no difference. - Enter the link as above (without removing the http://) and generate. Then go to the whxdata folder in the output and edit the toc.new.js file to remove the http:// from the url.
This works.
Unfortunately, these are projects that are updated frequently, so the second option does not present a realistic work-around for us.
Anyone got any other ideas on how to "protect" these links? Maybe modifying the .js file that generates the TOC so they'll be left unchanged on output?
Thanks,
Jeanne
