Up to [LON-CAPA] / loncom / homework / templates
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
- Backport 1.4.
Recognize negative and floating point numbers
Consistent problem templates: - New line after each tag (not for texts in foils) - One empty row after each end tag and before new start tag for second level tags - No indentation for second level tags, e.g. <script> - Four white spaces as indentation for each further sub level Exceptions: -Content (mostly text) in separate line(s): no indentation - Concept groups: same indentation as foilgroup (allows to insert code from problems without concept groups without changing the indentation and vice versa) - No new line at end of template - Removed new lines from within the middle of default texts - Added one blank each after "<m>$" and before "$</m>" to ensure no misinterpretation neither by human nor by machine (e.g. "<m>$x" is not "<m>$ $x") - Replaced deprecated font tag in <instructorcomment> by CSS - Removed dos line endings - dos2unix conversion (ClickImageExample.problem, RandomLabelExample.problem, SimpleMatching.problem)
- correct the example to use the proper return codes
Document custom response