aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/encode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/encode.rs')
-rw-r--r--src/util/encode.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/encode.rs b/src/util/encode.rs
index 6530011..98b3bcb 100644
--- a/src/util/encode.rs
+++ b/src/util/encode.rs
@@ -1,5 +1,7 @@
//! Encode HTML.
+use alloc::string::String;
+
/// Encode dangerous html characters.
///
/// This ensures that certain characters which have special meaning in HTML are