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.

General Questions

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

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

Anchor tags in SS 3.0.2


Reply

2 Posts   531 Views

Avatar
Kereru

3 December 2012 at 11:44am (Last edited: 3 December 2012 11:44am), Community Member, 9 Posts

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

3 December 2012 at 12:03pm Community Member, 9 Posts

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