Skip to content
Browse files

link hack

  • Loading branch information...
1 parent 1b4e573 commit 27c85d644030ff624f657801aa60a9c003c0a2d6 Sheena Luu committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/com/gu/personalization/dispatcher/dispatcher.scala
View
2 src/main/scala/com/gu/personalization/dispatcher/dispatcher.scala
@@ -106,7 +106,7 @@ class Dispatcher extends ScalatraFilter with ScalateSupport with Logging {
log.info(article.webTitle)
val pstyle = "<p style=\"border-bottom: 1px dotted #000000; width: 300px;\">"
val hackedUrl = article.webUrl.replace("http://","http://gnm41068.int.gnl/")
- val titleLink = "<a style=\"text-decoration: none;color: #005689;font-size: 12px;font-family: arial,sans-serif;\" href=\""+hackedUrl/+"\">"+article.webTitle+"</a>\n"
+ val titleLink = "<a style=\"text-decoration: none;color: #005689;font-size: 12px;font-family: arial,sans-serif;\" href=\""+hackedUrl+"\">"+article.webTitle+"</a>\n"
val thumbnail = article.fields.flatMap(_.get("thumbnail"))
if(!thumbnail.isEmpty){
pstyle+"<img style=\"float:left\" src=\""+thumbnail.get+"\"/>\n"+titleLink+"</p></li>"

0 comments on commit 27c85d6

Please sign in to comment.
Something went wrong with that request. Please try again.