mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-18 20:57:55 +00:00
parent
61d794b680
commit
2919fb79e5
@ -1,4 +1,4 @@
|
||||
use handlebars::{no_escape, Handlebars};
|
||||
use handlebars::Handlebars;
|
||||
|
||||
use super::super::config;
|
||||
|
||||
@ -992,7 +992,7 @@ r#"
|
||||
"#].join("\n");
|
||||
|
||||
let mut reg = Handlebars::new();
|
||||
reg.register_escape_fn(no_escape);
|
||||
reg.register_escape_fn(|s| s.to_string().replace('"', r#"\""#));
|
||||
let conf = config::get();
|
||||
println!(
|
||||
"{}",
|
||||
|
Loading…
Reference in New Issue
Block a user