| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| djangoapps | ||
| lib | ||
| static | ||
| templates | ||
| test | ||
| .gitignore | ||
| xml_cleanup.py |
Python code can commonly contain characters that are invalid XML, such
as '<' and '>'. This has proven to be a pain point for instructors
implementing custom Python grading functions for their JSInput problems
(see sample code below).
This change creates a more robust template from which to make
modifications.
```python
# This is an XML syntax error, when not inside a CDATA section.
if i < 0:
print('negative')
```
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| djangoapps | Loading commit data... | |
| lib | Loading commit data... | |
| static | Loading commit data... | |
| templates | Loading commit data... | |
| test | Loading commit data... | |
| .gitignore | Loading commit data... | |
| xml_cleanup.py | Loading commit data... |