summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-03-25 11:05:32 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-03-25 11:05:32 +0100
commitc03efbf05c9ea0f20362a0e227490dc2a8ea591e (patch)
tree4f59de644c264c0f9b8da1d558873dc41eaf73a6 /themes
parent7a90dfe0daaac1b34312d5bd4558fe7f61cc4f7b (diff)
downloadwww-andreasbaumann-cc-c03efbf05c9ea0f20362a0e227490dc2a8ea591e.tar.gz
www-andreasbaumann-cc-c03efbf05c9ea0f20362a0e227490dc2a8ea591e.tar.bz2
fixed replaceAll (Regexp) for IE)
Diffstat (limited to 'themes')
-rw-r--r--themes/new_theme/layouts/partials/ranklist.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/new_theme/layouts/partials/ranklist.html b/themes/new_theme/layouts/partials/ranklist.html
index 47982d7..3c75739 100644
--- a/themes/new_theme/layouts/partials/ranklist.html
+++ b/themes/new_theme/layouts/partials/ranklist.html
@@ -100,11 +100,11 @@
if( title == '' ) {
title = title_attribute;
}
- title = title.replaceAll( /#SMARK#/, "<i>" ).replaceAll( /#EMARK#/, "</i>" );
+ title = title.replaceAll( "#SMARK#", "<i>" ).replaceAll( "#EMARK#", "</i>" );
html += "<div class='title'>"
html += "<a href=\"" + docid + "\">" + title + "</a></div>";
if( abstract != '' ) {
- abstract = abstract.replaceAll( /#SMARK#/, "<b>" ).replaceAll( /#EMARK#/, "</b>" );
+ abstract = abstract.replaceAll( "#SMARK#", "<b>" ).replaceAll( "#EMARK#", "</b>" );
html += "<div class='abstract'>" + abstract + "</div>";
}
html += "</li>";