aboutsummaryrefslogtreecommitdiff
path: root/doc/tools/coqrst/notations/html.py
diff options
context:
space:
mode:
authorThéo Zimmermann2018-04-14 23:39:39 +0200
committerThéo Zimmermann2018-04-14 23:39:39 +0200
commitc291a8829556dc2a61fcacc08b34e1d68d66b89e (patch)
treecbd4580127497e576114e6e48e57406c094473d4 /doc/tools/coqrst/notations/html.py
parent2384fcb98640dbd9aeee4e8e43965d499e594815 (diff)
parent14f44c0e23c413314adf23ed1059acc5cd1fef2f (diff)
Merge PR #7250: Sphinx doc chapter 9
Diffstat (limited to 'doc/tools/coqrst/notations/html.py')
-rw-r--r--doc/tools/coqrst/notations/html.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/tools/coqrst/notations/html.py b/doc/tools/coqrst/notations/html.py
index 9c94a4b2d7..87a41cf9f3 100644
--- a/doc/tools/coqrst/notations/html.py
+++ b/doc/tools/coqrst/notations/html.py
@@ -41,6 +41,9 @@ class TacticNotationsToHTMLVisitor(TacticNotationsVisitor):
def visitHole(self, ctx:TacticNotationsParser.HoleContext):
tags.span(ctx.ID().getText()[1:], _class="hole")
+ sub = ctx.SUB()
+ if sub:
+ tags.sub(sub.getText()[1:])
def visitMeta(self, ctx:TacticNotationsParser.MetaContext):
txt = ctx.METACHAR().getText()[1:]