File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ $(document).ready(function()
370370 + '<textarea class="d_code_stdin">' + stdin + '</textarea></div>'
371371 + '<div class="d_code_args"><span class="d_code_title">Command line arguments</span><br>'
372372 + '<textarea class="d_code_args">' + args + '</textarea></div>'
373- + '<div class="d_code_output"><span class="d_code_title">Application output</span><br><textarea class="d_code_output" readonly>Running...</textarea ></div>'
373+ + '<div class="d_code_output"><span class="d_code_title">Application output</span><br><pre class="d_code_output" readonly>Running...</pre ></div>'
374374 + '<input type="button" class="editButton" value="Edit">'
375375 + '<input type="button" class="argsButton" value="Args">'
376376 + '<input type="button" class="inputButton" value="Input">'
@@ -456,7 +456,7 @@ function setupTextarea(el, opts)
456456
457457 var plainSourceCode = parent . parent ( ) . children ( "div.d_code" ) ;
458458
459- var output = outputDiv . children ( "textarea .d_code_output" ) ;
459+ var output = outputDiv . children ( "pre .d_code_output" ) ;
460460 var outputTitle = outputDiv . children ( "span.d_code_title" ) ;
461461 if ( opts . args ) {
462462 var argsBtn = parent . children ( "input.argsButton" ) ;
Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ $(document).ready(function()
5959 var currentExample = $ ( this ) ;
6060 var orig = currentExample . html ( ) ;
6161
62- orig = reformatExample ( orig ) ;
62+ // disable regex assert -> writeln rewrite logic (for now)
63+ //orig = reformatExample(orig);
6364
6465 // check whether it is from a ddoced unittest
6566 // 1) check is for ddoc, 2) for ddox
You can’t perform that action at this time.
0 commit comments