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.

Archive

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

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

$content.FirstParagraph can't handle entities?


Reply

4 Posts   2377 Views

Avatar
Bruce B

30 April 2008 at 5:07pm Community Member, 145 Posts

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

30 April 2008 at 5:13pm Forum Moderator, 921 Posts

Which version of SS are you using? 2.2.1?

Avatar
gakenny

30 April 2008 at 8:31pm Community Member, 153 Posts

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

1 May 2008 at 12:59pm Community Member, 145 Posts

Gary,
Thanks, that solves my problem completely.

Sean, its version 2.2.1

cheers
bruce