Permalink
Browse files

MDL-12161 Stripped slashes in LO titles

  • Loading branch information...
1 parent 5522548 commit b3f877de050f6c2ab452ea44139c4c406b28d5db bobopinna committed Nov 15, 2007
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/scorm/datamodels/aicclib.php
  2. +1 −1 mod/scorm/datamodels/scorm_12lib.php
@@ -485,7 +485,7 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n
}
}
} else {
- $result->toc .= '&nbsp;'.$sco->title."</li>\n";
+ $result->toc .= '&nbsp;'.format_string($sco->title)."</li>\n";
}
if (($nextsco !== false) && ($nextid == 0) && ($findnext)) {
if (!empty($nextsco->launch)) {
@@ -341,7 +341,7 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n
}
}
} else {
- $result->toc .= '&nbsp;'.$sco->title."</li>\n";
+ $result->toc .= '&nbsp;'.format_string($sco->title)."</li>\n";
}
if (($nextsco !== false) && ($nextid == 0) && ($findnext)) {
if (!empty($nextsco->launch)) {

0 comments on commit b3f877d

Please sign in to comment.