Skip to content

Commit 034ed75

Browse files
committed
Allow link-button reference to contain spaces
1 parent f9975d8 commit 034ed75

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,5 @@ dmypy.json
128128
# Pyre type checker
129129
.pyre/
130130

131+
.DS_Store
131132
.vscode/

sphinx_panels/button.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class LinkButton(SphinxDirective):
4646

4747
has_content = False
4848
required_arguments = 1
49+
final_argument_whitespace = True
4950
option_spec = {
5051
"type": lambda arg: directives.choice(arg, ("url", "ref")),
5152
"text": directives.unchanged,

0 commit comments

Comments
 (0)