commit | a0094449087744edd86020b022d635eec5f27acf | [log] [tgz] |
---|---|---|
author | Daw-Ran Liou <dawran6@gmail.com> | Wed May 24 14:47:53 2017 -0700 |
committer | Daw-Ran Liou <dawran6@gmail.com> | Wed May 24 15:02:41 2017 -0700 |
tree | 8aa499d733a342974813b4c036b11f7a12006401 | |
parent | d2a40c41dd1930345628ea9412d97e159f828157 [diff] |
Fix the return type of escape to Markup This patch fixes the return type of escape to always be Markup. It addresses the issue with custom class that implements the __html__ method - see issue #68. A new test case, test_escape_return_type, is added to test the behavior.