Fix output prompt when execution_count missing.

Closes gh-3235
This commit is contained in:
Thomas Kluyver 2018-01-18 17:52:50 +00:00
parent 6526a19c0b
commit 8657d99d9f

View File

@ -471,7 +471,7 @@ define([
}; };
OutputArea.output_prompt_classical = function(prompt_value) { OutputArea.output_prompt_classical = function(prompt_value) {
return $('<bdi>').text(i18n.msg.sprintf(i18n.msg._('Out[%d]:'),prompt_value)); return $('<bdi>').text(i18n.msg.sprintf(i18n.msg._('Out[%s]:'),prompt_value));
}; };
OutputArea.output_prompt_function = OutputArea.output_prompt_classical; OutputArea.output_prompt_function = OutputArea.output_prompt_classical;