17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2204 Views |
-
$content.FirstParagraph can't handle entities?

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 nameThis 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 -
Re: $content.FirstParagraph can't handle entities?

30 April 2008 at 5:13pm
Which version of SS are you using? 2.2.1?
-
Re: $content.FirstParagraph can't handle entities?

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/6649Cheers,
Gary
-
Re: $content.FirstParagraph can't handle entities?

1 May 2008 at 12:59pm
Gary,
Thanks, that solves my problem completely.Sean, its version 2.2.1
cheers
bruce
| 2204 Views | ||
|
Page:
1
|
Go to Top |



