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   2415 Views

Avatar
Bruce B

Community Member, 147 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, 147 Posts

1 May 2008 at 12:59pm

Gary,
Thanks, that solves my problem completely.

Sean, its version 2.2.1

cheers
bruce