Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W39.2026 · 21–27 Sep / Issue

Remove nested links in HTML output

tangled · jonmsterling.com/ocaml-forester · did:plc:jjiv56ot7d6sgethto3jr3r5

This is a long-standing problem with the XML output, which I won't address, but we have the opportunity to do something reasonable in the HTML output. Basically, <a> tags in HTML are not allowed to have <a> tags in their body. So we should keep some local state around, I suppose, that lets us know whether we are inside a hyperlink and if so, not emit any further <a> tags.

Comments

did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

https://tangled.org/jonmsterling.com/ocaml-forester/commit/502551868e6311b80aeb874ffdff96a7fb734c03


did:plc:jjiv56ot7d6sgethto3jr3r5

thank you!