@@ -389,6 +389,8 @@ define([
389
389
390
390
OutputArea . prototype . create_output_subarea = function ( md , classes , mime ) {
391
391
var subarea = $ ( '<div/>' ) . addClass ( 'output_subarea' ) . addClass ( classes ) ;
392
+ // Unforce RTL
393
+ subarea . attr ( "dir" , "auto" ) ;
392
394
if ( _get_metadata_key ( md , 'isolated' , mime ) ) {
393
395
// Create an iframe to isolate the subarea from the rest of the
394
396
// document
@@ -462,6 +464,8 @@ define([
462
464
// the prompt area and the proper indentation.
463
465
toinsert = this . create_output_area ( ) ;
464
466
var subarea = $ ( '<div/>' ) . addClass ( 'output_subarea' ) ;
467
+ // Unforce RTL
468
+ subarea . attr ( "dir" , "auto" ) ;
465
469
toinsert . append ( subarea ) ;
466
470
this . _append_javascript_error ( err , subarea ) ;
467
471
this . element . append ( toinsert ) ;
@@ -589,6 +593,8 @@ define([
589
593
var that = this ;
590
594
var toinsert = this . create_output_area ( ) ;
591
595
var subarea = $ ( '<div/>' ) . addClass ( 'output_subarea output_unrecognized' ) ;
596
+ // Unforce RTL
597
+ subarea . attr ( "dir" , "auto" ) ;
592
598
toinsert . append ( subarea ) ;
593
599
subarea . append (
594
600
$ ( "<a>" )
@@ -947,6 +953,7 @@ define([
947
953
} )
948
954
)
949
955
)
956
+ . attr ( "dir" , "auto" )
950
957
) ;
951
958
952
959
this . element . append ( area ) ;
0 commit comments