##// END OF EJS Templates
nbsp in html prompt
Matthias BUSSONNIER -
Show More
@@ -30,7 +30,7 b' class ConverterHTML(Converter):'
30 def _out_prompt(self, output):
30 def _out_prompt(self, output):
31 if output.output_type == 'pyout':
31 if output.output_type == 'pyout':
32 n = output.prompt_number if output.prompt_number is not None else ' '
32 n = output.prompt_number if output.prompt_number is not None else ' '
33 content = 'Out [%s]:' % n
33 content = 'Out [%s]:' % n
34 else:
34 else:
35 content = ''
35 content = ''
36 return ['<div class="prompt output_prompt">%s</div>' % content]
36 return ['<div class="prompt output_prompt">%s</div>' % content]
@@ -94,7 +94,7 b' class ConverterHTML(Converter):'
94
94
95 lines.append('<div class="input hbox">')
95 lines.append('<div class="input hbox">')
96 n = cell.prompt_number if getattr(cell, 'prompt_number', None) is not None else '&nbsp;'
96 n = cell.prompt_number if getattr(cell, 'prompt_number', None) is not None else '&nbsp;'
97 lines.append('<div class="prompt input_prompt">In [%s]:</div>' % n)
97 lines.append('<div class="prompt input_prompt">In&nbsp;[%s]:</div>' % n)
98 lines.append('<div class="input_area box-flex1">')
98 lines.append('<div class="input_area box-flex1">')
99 lines.append(highlight(cell.input))
99 lines.append(highlight(cell.input))
100 lines.append('</div>') # input_area
100 lines.append('</div>') # input_area
1 NO CONTENT: file renamed from tests/IntroNumPy.orig.ipynb to tests/ipynbref/IntroNumPy.orig.ipynb
NO CONTENT: file renamed from tests/IntroNumPy.orig.ipynb to tests/ipynbref/IntroNumPy.orig.ipynb
General Comments 0
You need to be logged in to leave comments. Login now