Extract Source Spans Test

Test space preserved in PRE
print 'Hello '
+ '<World>';
^print ^'Hello '^\n^  + '<World>';^
Test class="nocode"
1. print 'Hello '
2. + '<World>';
^print ^'Hello '^\n^  + '<World>';^
Test whitespace normalized in code
print 'Hello ' + '<World>';
^print ^'Hello ' + '<World>';^
Test XMP
print 'Hello ' + '<World>';
^print 'Hello '\n  + '<World>';^
Test tabs
print 'Hello '
	+ '<World>';
^print 'Hello '\n\t+ '<World>';^
Test number lines output
  • print 'Hello '
  • + '<World>';
^print ^'Hello '^\n^  + '<World>';^^

Log