feat: Add core rules
This commit is contained in:
@@ -9,7 +9,7 @@ import glob
|
||||
import os
|
||||
import re
|
||||
|
||||
HTML_DIR = os.path.join(os.path.dirname(__file__), "..", "html")
|
||||
HTML_DIR = os.path.join(os.path.dirname(__file__), "..", "books", "core")
|
||||
|
||||
# Remove <style>...</style> blocks (including surrounding blank lines)
|
||||
STYLE_BLOCK_RE = re.compile(r"\s*<style[^>]*>.*?</style>", re.DOTALL | re.IGNORECASE)
|
||||
|
||||
Reference in New Issue
Block a user