parsing photoset description

Topics: Developer Forum, User Forum
Jun 15, 2013 at 12:56 AM
I'm using the Flickr.net dll in an mvc 3 razor app.
When use the PhotosetsGetInfo method to retrieve info for a photoset, I have a problem parsing the Description property of the returned Photoset.

In my Razor View that is displaying the Photoset, I can correctly encode the content, so that any links and such are formatted by using the following -
 -  @Html.Raw(HttpUtility.HtmlDecode(Model.description))
But, I am having a problem including appropriate line breaks.
Looking at my flickr users site, I can see that the spaces rendered in a photoset description are formated using two </br> tags.
These two tags are stripped out of the description property, and I thus have no way of knowing how to insert the appropriate spacing.
Can anyone help?
Thanks
Jun 15, 2013 at 1:04 AM
Sorry!! - I've just spotted the \n\n insertions - sorry for the noob queustion!!