@@ -389,6 +389,8 @@ define([
389389
390390 OutputArea . prototype . create_output_subarea = function ( md , classes , mime ) {
391391 var subarea = $ ( '<div/>' ) . addClass ( 'output_subarea' ) . addClass ( classes ) ;
392+ // Unforce RTL
393+ subarea . attr ( "dir" , "auto" ) ;
392394 if ( _get_metadata_key ( md , 'isolated' , mime ) ) {
393395 // Create an iframe to isolate the subarea from the rest of the
394396 // document
@@ -462,6 +464,8 @@ define([
462464 // the prompt area and the proper indentation.
463465 toinsert = this . create_output_area ( ) ;
464466 var subarea = $ ( '<div/>' ) . addClass ( 'output_subarea' ) ;
467+ // Unforce RTL
468+ subarea . attr ( "dir" , "auto" ) ;
465469 toinsert . append ( subarea ) ;
466470 this . _append_javascript_error ( err , subarea ) ;
467471 this . element . append ( toinsert ) ;
@@ -589,6 +593,8 @@ define([
589593 var that = this ;
590594 var toinsert = this . create_output_area ( ) ;
591595 var subarea = $ ( '<div/>' ) . addClass ( 'output_subarea output_unrecognized' ) ;
596+ // Unforce RTL
597+ subarea . attr ( "dir" , "auto" ) ;
592598 toinsert . append ( subarea ) ;
593599 subarea . append (
594600 $ ( "<a>" )
@@ -947,6 +953,7 @@ define([
947953 } )
948954 )
949955 )
956+ . attr ( "dir" , "auto" )
950957 ) ;
951958
952959 this . element . append ( area ) ;
0 commit comments