aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-10-31 11:21:31 -0700
committerFuwn <[email protected]>2023-10-31 11:21:31 -0700
commit98fcd8d701bc9c518221ad7c127ee8d0666f9ada (patch)
tree5c7a541fd7d3406ece61fb8952114e1b25c7a80c
parentstyle(brec): remove debug (diff)
downloadhayai-98fcd8d701bc9c518221ad7c127ee8d0666f9ada.tar.xz
hayai-98fcd8d701bc9c518221ad7c127ee8d0666f9ada.zip
fix(brec): remove unnused
-rw-r--r--hayai/brec.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/hayai/brec.py b/hayai/brec.py
index ce656b6..10256ce 100644
--- a/hayai/brec.py
+++ b/hayai/brec.py
@@ -29,21 +29,6 @@ class MyHTMLParser(HTMLParser):
data_html.append(("Data:", data))
- def handle_comment(self, data):
- pass
-
- def handle_entityref(self, name):
- c = chr(name2codepoint[name])
-
- def handle_charref(self, name):
- if name.startswith("x"):
- c = chr(int(name[1:], 16))
- else:
- c = chr(int(name))
-
- def handle_decl(self, data):
- pass
-
def bolding(text):
parts = re.findall(r"[^\s]+", text)