From 9e157f453ae674a9f86601142fde91b85485883a Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 16 Aug 2022 17:42:37 +0200 Subject: Add `no_std + alloc` --- src/util/encode.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util/encode.rs') 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 -- cgit