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:
Frederik Hermans 2015-06-30 22:20:17 +02:00
parent 3ee4efdc5d
commit 0ee6a87cae

View File

@ -164,7 +164,7 @@ div.raw_input_container {
}
span.raw_input_prompt {
/* nothing needed here */
white-space: pre;
}
input.raw_input {