--- /dev/null
+# paperdoorknob: Print glowfic
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, version 3.
+
+
+import unittest
+from htmlfilter import ApplyHTMLFilters
+
+
+class TestHTMLFilters(unittest.TestCase):
+
+ def testStripNBSP(self) -> None:
+ self.assertEqual(
+ ApplyHTMLFilters(
+ "NoNBSP",
+ b"<p>It's <em>really </em>cold.</p>"),
+ b"<p>It's <em>really </em>cold.</p>")
+
+
+if __name__ == '__main__':
+ unittest.main()