sample example. the problem can get a lot worse if the error is nested deep inside some Hypertext, resulting in unreadable html output and making debugging hard.
i1 : needsPackage"Text"
o1 = Text
o1 : Package
i2 : html DIV "a"
o2 = <div>
a</div>
i3 : a=new Type of List; html a := x -> 1/0; b=new a;
i6 : new VerticalList from {b}
o6 = {{}}
o6 : VerticalList
i7 : html oo
stdio:3:36:(3):[17]: error: division by zero
i8 : html DIV "a"
o8 = <div>
a </div>
sample example. the problem can get a lot worse if the error is nested deep inside some Hypertext, resulting in unreadable
htmloutput and making debugging hard.