From ac259ebe4723de3db7e28cc7e87bc740110461cc Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Thu, 3 Nov 2016 23:13:20 +1300
Subject: [PATCH] Don't escape single quotes

---
 maud/src/lib.rs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/maud/src/lib.rs b/maud/src/lib.rs
index 5ec2663..23223c5 100644
--- a/maud/src/lib.rs
+++ b/maud/src/lib.rs
@@ -150,10 +150,12 @@ impl PreEscaped<String> {
 /// * `<` is escaped as `&lt;`
 /// * `>` is escaped as `&gt;`
 /// * `"` is escaped as `&quot;`
-/// * `'` is escaped as `&#39;`
 ///
 /// All other characters are passed through unchanged.
 ///
+/// **Note:** In versions prior to 0.13, the single quote (`'`) was
+/// escaped as well.
+///
 /// # Example
 ///
 /// ```
@@ -180,7 +182,6 @@ impl<'a> fmt::Write for Escaper<'a> {
                 b'<' => self.0.push_str("&lt;"),
                 b'>' => self.0.push_str("&gt;"),
                 b'"' => self.0.push_str("&quot;"),
-                b'\'' => self.0.push_str("&#39;"),
                 _ => unsafe { self.0.as_mut_vec().push(b) },
             }
         }