Skip to content

Commit

Permalink
* fix 'string option' expected, got 'string' compilation issue tpetri…
Browse files Browse the repository at this point in the history
  • Loading branch information
tendersoft-mjb committed Apr 10, 2016
1 parent 01180ae commit f084384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.fsx
Expand Up @@ -45,7 +45,7 @@ let getFeedNews () = async {
yield "<li>"
yield sprintf "<h3><a href=\"%s\">%s</a></h3>" item.Link item.Title
yield sprintf "<p class=\"date\">%s</p>" (formatDate item.PubDate)
yield sprintf "<p>%s</p>" (formatText 500 (stripHtml (defaultArg item.Description "")))
yield sprintf "<p>%s</p>" (formatText 500 (stripHtml (defaultArg (Some item.Description) "")))
yield "</li>" ]
return String.concat "" html }

Expand Down

0 comments on commit f084384

Please sign in to comment.