about summary refs log tree commit diff stats
path: root/src/data
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-06-27 23:53:44 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-11 21:08:10 +0200
commit62cba694e47a7a1f4bedc7fd48ceac9c26aa3aa1 (patch)
treee20a9f39a293c256f707162c46e117d13f3d5621 /src/data
parent84882cb8a6f9bca58d178a1f2b8fb5cafa8b3a56 (diff)
downloadchawan-62cba694e47a7a1f4bedc7fd48ceac9c26aa3aa1.tar.gz
Implement HTML5 parsing
Completely replaced the previous HTML2 (?) parser, which was a bad
re-implementation of w3m's parser in the first place. Now we have a
(sort of) compliant HTML5 parser.
Needs tests, badly.
Diffstat (limited to 'src/data')
-rw-r--r--src/data/idna.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/idna.nim b/src/data/idna.nim
index e2c79b41..f204e934 100644
--- a/src/data/idna.nim
+++ b/src/data/idna.nim
@@ -135,7 +135,7 @@ func loadStuff(s: string): (FullMap[cstring], # Map
     of "ignored":
       add(firstcol, add_ignore)
 
-when defined(release):
+when defined(release) or defined(small):
   const (MappedMap,
          DisallowedRanges,
          Disallowed,