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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/encode.rs b/src/util/encode.rs
index a26d954..51eadaf 100644
--- a/src/util/encode.rs
+++ b/src/util/encode.rs
@@ -39,8 +39,8 @@ pub fn encode(value: &str, encode_html: bool) -> String {
b'&' => "&",
b'"' => """,
b'<' => "&lt;",
- b'>' => "&gt;",
- _ => panic!("impossible"),
+ // `b'>'`
+ _ => "&gt;",
});
start = index + 1;