trim trailing whitespace of snippets

This commit is contained in:
neri 2022-07-03 00:48:34 +02:00
parent bf7c762f83
commit 53c568082d
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ use crate::config::Config;
const INDEX_HTML: &str = include_str!("../template/index.html");
const AUTH_HIDE_JS: &str = include_str!("../template/auth-hide.js");
const AUTH_SNIPPET_HTML: &str = include_str!("../snippet/auth.html.snippet");
const MAX_SIZE_SNIPPET_HTML: &str = include_str!("../snippet/max_size.html.snippet");
const AUTH_SNIPPET_HTML: &str = include_str!("../snippet/auth.html.snippet").trim_end();
const MAX_SIZE_SNIPPET_HTML: &str = include_str!("../snippet/max_size.html.snippet").trim_end;
pub async fn write_prefillable_templates(config: &Config) {
let index_html = build_index_html(config);