Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29a73cd

Browse files
committed
Merge pull request #46 from dkua/b1
Removed   from html.py So the In and Out prompts in a static HTML conversion are the same length/aligned. Normal notebook does not have nbsp either.
2 parents 3ebf739 + 397e53f commit 29a73cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

converters/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _stylesheet(self, fname):
3030
def _out_prompt(self, output):
3131
if output.output_type == 'pyout':
3232
n = output.prompt_number if output.prompt_number is not None else ' '
33-
content = 'Out [%s]:' % n
33+
content = 'Out[%s]:' % n
3434
else:
3535
content = ''
3636
return ['<div class="prompt output_prompt">%s</div>' % content]

0 commit comments

Comments
 (0)