Skip to content

Commit a7ab729

Browse files
committed
Switch the problem editor to use the debug format.
This is as discussed in #2661, #2662 and the developer meeting. The PG problem editor is switched to the debug format from the simple format. The only difference for the problem editor page is that if there are debug messages they are now shown. Usually there aren't any such messages, and so there isn't a difference. But if something is enabled like the MathObject diagnostics cmp flag, then those debug messages are shown.
1 parent f1da2b1 commit a7ab729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htdocs/js/PGProblemEditor/pgproblemeditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
sourceFilePath: document.getElementsByName('edit_file_path')[0]?.value,
397397
rawProblemSource:
398398
webworkConfig?.pgCodeMirror?.source ?? document.getElementById('problemContents')?.value ?? '',
399-
outputformat: 'simple',
399+
outputformat: 'debug',
400400
showAnswerNumbers: 0,
401401
// The set id is really only needed by set headers to get the correct dates for the set.
402402
set_id: document.getElementsByName('hidden_set_id')[0]?.value ?? 'Unknown Set',

0 commit comments

Comments
 (0)