diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2020-04-26 18:23:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 18:23:35 +0200 |
commit | 23b7670d32c566acd62870c73676531eb187aa94 (patch) | |
tree | 3d2ebb75a796ac2de991ae90f0583417f405640a /platform/javascript/export/export.cpp | |
parent | e68012f4c9c27ec97f7dae0f5a1bfe4f0c716b0e (diff) | |
parent | eecce139eaa15b3c4d7944dd586b11e150d5e5b6 (diff) |
Merge pull request #35382 from Calinou/html5-export-title-tag
Set the `title` tag in the HTML5 export immediately
Diffstat (limited to 'platform/javascript/export/export.cpp')
-rw-r--r-- | platform/javascript/export/export.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/export/export.cpp b/platform/javascript/export/export.cpp index 39faae2d17..36076a2af9 100644 --- a/platform/javascript/export/export.cpp +++ b/platform/javascript/export/export.cpp @@ -252,6 +252,7 @@ void EditorExportPlatformJavaScript::_fix_html(Vector<uint8_t> &p_html, const Re String current_line = lines[i]; current_line = current_line.replace("$GODOT_BASENAME", p_name); + current_line = current_line.replace("$GODOT_PROJECT_NAME", ProjectSettings::get_singleton()->get_setting("application/config/name")); current_line = current_line.replace("$GODOT_HEAD_INCLUDE", p_preset->get("html/head_include")); current_line = current_line.replace("$GODOT_DEBUG_ENABLED", p_debug ? "true" : "false"); str_export += current_line + "\n"; |