From 2bea2ca188475bed325981f68cb5903849169e5b Mon Sep 17 00:00:00 2001 From: mossroy Date: Wed, 23 Jul 2014 17:40:40 +0200 Subject: [PATCH] Escape ' character in HTML attribute titleid of every title listed Fixes #93 (articles with this character in their name could not de displayed) --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index b0f49f2c..dfe59f11 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -477,7 +477,7 @@ define(['jquery', 'title', 'archive', 'util', 'cookies','geometry','osabstractio distanceFromHereHtml = " (" + distanceKm + " km " + cardinalDirection + ")"; } - titleListDivHtml += "" + title.getReadableName() + distanceFromHereHtml + "";