mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-23 12:49:41 +08:00
Render newlines etc. in raw_input() prompt
This commit addresses https://github.com/ipython/ipython/issues/8532. The output of raw_input() is rendered in a <pre>, but the prompt is rendered as a span.raw_input_prompt. With white-space:pre, the span renders \t, \n, etc. as expected.
This commit is contained in:
parent
3ee4efdc5d
commit
0ee6a87cae
@ -164,7 +164,7 @@ div.raw_input_container {
|
||||
}
|
||||
|
||||
span.raw_input_prompt {
|
||||
/* nothing needed here */
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
input.raw_input {
|
||||
|
Loading…
Reference in New Issue
Block a user