commits
References: https://todo.sr.ht/~jonsterling/forester/67
References: https://todo.sr.ht/~jonsterling/forester/67
Closes: https://todo.sr.ht/~jonsterling/forester/65
Closes: https://todo.sr.ht/~jonsterling/forester/58
In HTML, it is illegal to nest <a> tags; this is unfortunate for us
because we will in general have nested links all the time.
The solution was to do some clever XSLT that flattens out the link
hierarchy, by moving the <a> tags to the text leaves of the tree; of
course, this would have very strange formatting, so we make <a> have no
formatting at all and format links explicitly using <span>.
The main edge case arises in the TOC, which I needed to handle using
JavaScript.
+ tooltips now have addr in them
+ clickable bullets take you to a tree's page
This reverts commit 12634253adbe250f167a53ab5b6aa063b82bcb83.
I have reverted this because it does a bad thing if you view the file
locally. Will need to think more about how to incorporate this.
In HTML, it is illegal to nest <a> tags; this is unfortunate for us
because we will in general have nested links all the time.
The solution was to do some clever XSLT that flattens out the link
hierarchy, by moving the <a> tags to the text leaves of the tree; of
course, this would have very strange formatting, so we make <a> have no
formatting at all and format links explicitly using <span>.
The main edge case arises in the TOC, which I needed to handle using
JavaScript.