shithub: riscv

Download patch

ref: ef17043327d999101009f85aae72f77399db15ac
parent: 94333ce6a694c4c9b282c1db4e0360ab6ef047b9
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 {