Browse Source

fix for malformed html

adam j hartz 1 week ago
parent
commit
19141d70f6
3 changed files with 23 additions and 3 deletions
  1. 20
    0
      CHANGELOG.md
  2. 2
    2
      catsoop/__QTYPES__/multiexpression/multiexpression.py
  3. 1
    1
      catsoop/__init__.py

+ 20
- 0
CHANGELOG.md View File

@@ -1,3 +1,23 @@
1
+# Current Developments
2
+
3
+_Work toward next release. Currently under development._
4
+
5
+#### ADDED:
6
+
7
+#### CHANGED:
8
+
9
+#### DEPRECATED:
10
+
11
+#### REMOVED:
12
+
13
+#### FIXED:
14
+
15
+* Fix for malformed HTML in `multiexpression` question output.
16
+
17
+#### SECURITY:
18
+
19
+#### DOCUMENTATION:
20
+
1 21
 # Version 14.0.3
2 22
 
3 23
 #### FIXED

+ 2
- 2
catsoop/__QTYPES__/multiexpression/multiexpression.py View File

@@ -41,7 +41,7 @@ def get_parsed_reps(submissions, **info):
41 41
             )
42 42
         except:
43 43
             parsed.append(
44
-                '%s</br><center><font color="red">Error: could not parse your expression <code>%s</code></center></font>'
44
+                '%s<br/><center><font color="red">Error: could not parse your expression <code>%s</code></font></center>'
45 45
                 % (fprompt, repr(osub))
46 46
             )
47 47
     msg = '<div class="question">Your expressions were parsed as:<hr/>'
@@ -133,7 +133,7 @@ def answer_display(**info):
133 133
                 )
134 134
             except:
135 135
                 parsed.append(
136
-                    '%s</br><center><font color="red">Error: could not parse expression <code>%s</code></center></font>'
136
+                    '%s<br/><center><font color="red">Error: could not parse expression <code>%s</code></font></center>'
137 137
                     % (fprompt, repr(soln))
138 138
                 )
139 139
     return "<hr/>".join(parsed)

+ 1
- 1
catsoop/__init__.py View File

@@ -1 +1 @@
1
-__version__ = "14.0.3"
1
+__version__ = "14.0.4"

Loading…
Cancel
Save