Merge pull request #3236 from takluyver/i3235

Fix output prompt when execution_count missing.
This commit is contained in:
Thomas Kluyver 2018-02-02 11:43:50 +00:00 committed by GitHub
commit 7445be5943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -471,7 +471,7 @@ define([
};
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;