aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/View/Web.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-11 11:55:06 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-11 11:55:06 +0000
commit7098d9d2f00a8e851d72d68af8248948caa09315 (patch)
tree153285e258910fdcbaeec2e684b4a105960c16d6 /perllib/FixMyStreet/App/View/Web.pm
parent5b2e18389734751165d2eeb21a3b3f2e8d2e8755 (diff)
Couple of Bromley council references missed in merge.
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r--perllib/FixMyStreet/App/View/Web.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm
index febeaf3c1..2f3ec8914 100644
--- a/perllib/FixMyStreet/App/View/Web.pm
+++ b/perllib/FixMyStreet/App/View/Web.pm
@@ -122,6 +122,7 @@ sub add_links {
$text =~ s/\r//g;
$text = ent($text);
$text =~ s{(https?://[^\s]+)}{<a href="$1">$1</a>}g;
+ $text =~ s{">(.*?)<}{">$1<}ge;
return $text;
}