Skip to content

Commit

Permalink
Fixed style for pre tag in details
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasguts committed Jan 16, 2018
1 parent 4a98e48 commit 1e062f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{
"data": {
"text/html": [
"<details><summary><pre style=\"inline\"><small>Click here for additional output</small></pre></summary>\n",
"<details><summary><pre style=\"display:inline\"><small>Click here for additional output</small></pre></summary>\n",
"<pre>\n",
"polymake: used package cdd\n",
" cddlib\n",
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"data": {
"text/html": [
"<details><summary><pre style=\"inline\"><small>Click here for additional output</small></pre></summary>\n",
"<details><summary><pre style=\"display:inline\"><small>Click here for additional output</small></pre></summary>\n",
"<pre>\n",
"polymake: used package lrs\n",
" Implementation of the reverse search algorithm of Avis and Fukuda.\n",
Expand Down Expand Up @@ -143,7 +143,7 @@
{
"data": {
"text/html": [
"<details><summary><pre style=\"inline\"><small>Click here for additional output</small></pre></summary>\n",
"<details><summary><pre style=\"display:inline\"><small>Click here for additional output</small></pre></summary>\n",
"<pre>\n",
"polymake: used package permlib\n",
" A callable C++ library for permutation computations. \n",
Expand Down Expand Up @@ -235,7 +235,7 @@
{
"data": {
"text/html": [
"<details><summary><pre style=\"inline\"><small>Click here for additional output</small></pre></summary>\n",
"<details><summary><pre style=\"display:inline\"><small>Click here for additional output</small></pre></summary>\n",
"<pre>\n",
"polymake: used package SVG\n",
" Generated using the Perl SVG Module\n",
Expand Down
2 changes: 1 addition & 1 deletion jupyter_kernel_polymake/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def do_execute(self, code, silent, store_history=True,
stream_content = {'execution_count': self.execution_count, 'data': { 'text/plain': output_stdout } }
self.send_response( self.iopub_socket, 'execute_result', stream_content )
if output[2] != "":
output_html = "<details><summary><pre style=\"inline\"><small>Click here for additional output</small></pre></summary>\n<pre>\n"+output[2]+"</pre>\n</details>\n"
output_html = "<details><summary><pre style=\"display:inline\"><small>Click here for additional output</small></pre></summary>\n<pre>\n"+output[2]+"</pre>\n</details>\n"
stream_content = {'execution_count': self.execution_count,
'source' : "polymake",
'data': { 'text/html': output_html},
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main(argv=None):


setup( name="jupyter_kernel_polymake"
, version="0.13"
, version="0.14"
, description="A Jupyter kernel for polymake"
, author="Sebastian Gutsche"
, author_email="[email protected]"
Expand Down

0 comments on commit 1e062f9

Please sign in to comment.