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.

Archive /

Our old forums are still available as a read-only archive.

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

$content.FirstParagraph can't handle entities?


Go to End


4 Posts   2913 Views

Avatar
Bruce B

Community Member, 164 Posts

30 April 2008 at 5:07pm

My first attempt at the tutorial news page failed with an error:
error on line 65 at column 402: xmlParseEntityRef: no name

This was caused by a html entity (&) in the first paragraph of the content
Is this a bug? or did I miss something?

Otherwise its all looking very promising. I hope to get started on converting my existing static site to SS soon.

cheers
bruce

Avatar
Sean

Forum Moderator, 922 Posts

30 April 2008 at 5:13pm

Which version of SS are you using? 2.2.1?

Avatar
gakenny

Community Member, 153 Posts

30 April 2008 at 8:31pm

Hi,

Have a look at my thread regarding a similar issue a while back:
http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/6649

Cheers,

Gary

Avatar
Bruce B

Community Member, 164 Posts

1 May 2008 at 12:59pm

Gary,
Thanks, that solves my problem completely.

Sean, its version 2.2.1

cheers
bruce