Skip to content

Commit 6eb778a

Browse files
authored
fix typo in thebelab button formatting
closes #75
1 parent 13cbef2 commit 6eb778a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_sphinx/execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ def __init__(self, rawsource='', *children, text='Make live', **attributes):
303303

304304
def html(self):
305305
text = self['text']
306-
return ('<button title="Make live" class="thebelab-button" id="thebelab-activate-button" ' +
307-
'onclick="initThebelab()">{}</button>'.format(text))
306+
return ('<button title="{text}" class="thebelab-button" id="thebelab-activate-button" '
307+
'onclick="initThebelab()">{text}</button>'.format(text=text))
308308

309309
### Doctree transformations
310310

0 commit comments

Comments
 (0)