Skip to content

Commit

Permalink
MDL-13766 fixed xhtml strict
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed May 17, 2009
1 parent 1b24d74 commit e7c2f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repository/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@ function repository_get_client($context, $id = '', $accepted_filetypes = '*', $

$accepted_file_ext = json_encode($ft->get_file_ext($accepted_filetypes));
$js .= <<<EOD
<script>
<script type="text/javascript">
file_extensions.image = $image_file_ext;
file_extensions.media = $video_file_ext;
</script>
Expand All @@ -1959,7 +1959,7 @@ function repository_get_client($context, $id = '', $accepted_filetypes = '*', $

// print repository instances listing
$js .= <<<EOD
<script>
<script type="text/javascript">
repository_listing['$id'] = {};
EOD;
foreach ($repos as $repo) {
Expand Down

0 comments on commit e7c2f2b

Please sign in to comment.