Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ertuil/erblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutong Chen <ertuil98@foxmail.com>2020-05-26 16:17:46 +0300
committerLutong Chen <ertuil98@foxmail.com>2020-05-26 16:17:46 +0300
commit6f452b4bf779ac0553b9db06837b6d706406fde1 (patch)
tree17ad7b4db71683a11a8f7c453dec5bfbb1856eaf
parent5af5e8437f638d6ab365848fbf73f8327c6ef37b (diff)
add safeHTML
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index f7931ec..bf4e87b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -47,7 +47,7 @@
<script type="text/javascript">
$("#search").keyup(function(event){
if(event.keyCode ==13){
- document.location = "https://www.google.com/search?q=" + $("#search").val(); + "+site%3A{{$.Site.BaseURL}}"
+ document.location = "https://www.google.com/search?q=" + $("#search").val(); + "+site%3A{{$.Site.BaseURL | safeHTML}}"
}
});
</script>