http://atutor.ca/atutor/mantis/view.php?id=4829
authorCindy Li <cli@ocad.ca>
Wed, 24 Aug 2011 16:14:02 +0000 (16:14 -0000)
committerCindy Li <cli@ocad.ca>
Wed, 24 Aug 2011 16:14:02 +0000 (16:14 -0000)
Wrap up handbook title with UTF-8 version of htmlspecialchars().

docs/documentation/index.php

index e696e64..6d1bea7 100644 (file)
@@ -42,7 +42,7 @@ if (isset($_GET['p'])) {
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo DEFAULT_LANGUAGE_CODE; ?>" lang="<?php echo DEFAULT_LANGUAGE_CODE; ?>"> 
 <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-       <title><?php echo _AT('Transformable_handbook'); ?></title>
+       <title><?php echo htmlspecialchars(_AT('Transformable_handbook'), ENT_QUOTES, 'UTF-8'); ?></title>
 
 <script type="text/javascript">