Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Anchor tags in SS 3.0.2


Go to End


2 Posts   1525 Views

Avatar
Kereru

Community Member, 9 Posts

3 December 2012 at 11:44am

Edited: 03/12/2012 11:44am

I'm having an issue which I am hoping others may be able to shed some light upon. When I insert/add an anchor tag to a page with the page editor:

<a name="foo"></a>

I get a situation where the anchor is rewritten when the page is served such that it becomes:

<a name="foo"/>

This is resulting all the text which follows being seen as being linked and it is doing my head in as to why. Any thoughts? Will upgrading to v3.0.3 fix this or is it a bug which should be submitted?

Thanks for your consideration.

Regards,
Chris

Avatar
Kereru

Community Member, 9 Posts

3 December 2012 at 12:03pm

I see that someone else addressed this with:

http://www.silverstripe.org/general-questions/show/21009

I had been searching for anchor issues, not self-closing <a> tags.

Regards,
Chris