git: 9front

Download patch

ref: 45411903952a32f5b9b5ac0bd464bb19f1096397
parent: 4537fd480db2e30ea15183f756488853c9e9c9b0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 23 19:35:41 EDT 2018

libhtml: increase Nestmax to render some convoluted pages (thanks fernan)

example page with broken citation list numbering:

https://en.m.wikipedia.org/wiki/Commodore_64

--- a/sys/src/libhtml/build.c
+++ b/sys/src/libhtml/build.c
@@ -7,7 +7,7 @@
 
 // A stack for holding integer values
 enum {
-	Nestmax = 40	// max nesting level of lists, font styles, etc.
+	Nestmax = 256	// max nesting level of lists, font styles, etc.
 };
 
 struct Stack {
--