MCPcopy Create free account
hub / github.com/PerroEngine/Perro / xml_escape

Function xml_escape

perro_website/src/main.rs:393–399  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

391}
392
393#[cfg(feature = "ssr")]
394fn public_base_url(headers: &axum::http::HeaderMap) -> String {
395 if let Ok(base) = std::env::var("PERRO_SITE_URL") {
396 let base = base.trim().trim_end_matches('/');
397 if !base.is_empty() {
398 return base.to_string();
399 }
400 }
401
402 let host = headers

Callers 1

sitemap_xmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected