feat: Add core rules

This commit is contained in:
2026-06-06 13:03:00 +00:00
parent c75cd188c1
commit 75c6ab9975
583 changed files with 13580 additions and 50 deletions

View File

@@ -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)