--- rat/lonpage.pm 2023/09/10 18:12:55 1.143
+++ rat/lonpage.pm 2023/09/11 13:26:26 1.144
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Page Handler
#
-# $Id: lonpage.pm,v 1.143 2023/09/10 18:12:55 raeburn Exp $
+# $Id: lonpage.pm,v 1.144 2023/09/11 13:26:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -514,7 +514,7 @@ ENDEXT
$hastimer = 1;
}
unless ($hasnumresp) {
- if ($output=~/\]+class\s*=\s*[\'\"]*([^\'\"\>]+|)LC_numresponse_text/) {
+ if ($output=~/\]+class\s*=\s*['"]*[^'">]*LC_numresponse_text\W/) {
$hasnumresp = 1;
}
}