Skip to content

Commit

Permalink
Fix glossary
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasaglia authored Sep 4, 2024
1 parent a8f8af0 commit 1497683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/specs/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ local coordinates
and the Y coordinate increasing towards the bottom.
Without any transforms, the point $(0, 0)$ corresponds with the top-left
corner of the viewport.

render stack
: A render stack is a list if rendering primitive to be drawn in inverse
stack order. A render stack can contain child stacks.

stacking order
: The order in which objects appear in the [[render stack]].

collected shapes
: When collecting shapes for a rendering operation, implementations MUST
traverse the [[render stack]] in reverse order.
Expand Down
2 changes: 1 addition & 1 deletion tools/toc_deflist.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run(self, root):
term: etree.Element
for term in root.findall(".//dt"):
if "id" not in term.attrib:
text = toc.unescape(toc.stashedHTML2text(toc.get_name(term), self.md))
text = toc.unescape(toc.strip_tags(toc.render_inner_html(term, self.md)))
id = toc.slugify(text, "-")
term.attrib["id"] = id
link = etree.Element("a")
Expand Down

0 comments on commit 1497683

Please sign in to comment.