diff options
| author | Théo Zimmermann | 2018-04-14 23:39:39 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-04-14 23:39:39 +0200 |
| commit | c291a8829556dc2a61fcacc08b34e1d68d66b89e (patch) | |
| tree | cbd4580127497e576114e6e48e57406c094473d4 /doc/tools/coqrst/notations/html.py | |
| parent | 2384fcb98640dbd9aeee4e8e43965d499e594815 (diff) | |
| parent | 14f44c0e23c413314adf23ed1059acc5cd1fef2f (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.py | 3 |
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:] |
