Hi,
When I insert HTML code into a topic, H&M doesn't see anchors in it. It results in errors during compilation: Topic ''some topic" references an undefined anchor: "#some anchor" in topic "some other topic".
Is there a workaround?
Inserting HTML code objects - H&M doesn't see anchors
Moderators: Alexander Halser, Tim Green
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Inserting HTML code objects - H&M doesn't see anchors
Hi Alexey,Alexey wrote:Is there a workaround?
A workaround is to split the HTML into several Code Objects, with Shift+Return between lines:
regards,
Martin.
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Inserting HTML code objects - H&M doesn't see anchors
Hi Alexey,
So long as you know that the anchor is there and that your link to it is valid you can also just ignore the error message. It is just a warning, it will not disable anything.
So long as you know that the anchor is there and that your link to it is valid you can also just ignore the error message. It is just a warning, it will not disable anything.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: Inserting HTML code objects - H&M doesn't see anchors
Thank you! Will tryMartin Wynne wrote:Hi Alexey,Alexey wrote:Is there a workaround?
A workaround is to split the HTML into several Code Objects, with Shift+Return between lines:
regards,
Martin.
Re: Inserting HTML code objects - H&M doesn't see anchors
Thanks, but I can't ignore them. Help is produced automatically, we check exit codes. If we ignore exit codes, we may miss real problems.Tim Green wrote:Hi Alexey,
So long as you know that the anchor is there and that your link to it is valid you can also just ignore the error message. It is just a warning, it will not disable anything.
- Alexander Halser
- EC-Software Support
- Posts: 4106
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Re: Inserting HTML code objects - H&M doesn't see anchors
The dead anchor warning is a warning, not an error. It produces an exit code "2", not "1" like a critical error would.
If link is on the same page as the anchor, you might want to use an Internet link instead. Topic links are evaluated and reported if missing, Internet links are not.
If link is on the same page as the anchor, you might want to use an Internet link instead. Topic links are evaluated and reported if missing, Internet links are not.
Alexander Halser
Senior Software Architect, EC Software GmbH
Senior Software Architect, EC Software GmbH