aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/HttpServer.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/HttpServer.hx')
-rw-r--r--src/server/HttpServer.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/HttpServer.hx b/src/server/HttpServer.hx
index 4f283a4..f6fb27f 100644
--- a/src/server/HttpServer.hx
+++ b/src/server/HttpServer.hx
@@ -391,6 +391,7 @@ class HttpServer {
final matchVarString = ~/\${([A-z_]+)}/g;
function localizeHtml(data:String, lang:String):String {
+ if (!data.contains("<!-- localization-template -->")) return data;
if (lang != null && matchLang.match(lang)) {
lang = matchLang.matched(0);
} else lang = "en";
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage