Fix yet another problem with HTML special chars. fix #11

This commit is contained in:
Sébastien Lucas 2012-09-03 16:01:46 +02:00
parent 69f0be3e78
commit 211f90e2f3

View file

@ -49,7 +49,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="imagetoolbar" content="no" />
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no" /> <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no" />
<title><?php echo $currentPage->title ?></title> <title><?php echo htmlspecialchars ($currentPage->title) ?></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox.js?v=2.0.6"></script> <script type="text/javascript" src="fancybox/jquery.fancybox.js?v=2.0.6"></script>
<script type="text/javascript" src="<?php echo getUrlWithVersion("js/jquery.sortElements.js") ?>"></script> <script type="text/javascript" src="<?php echo getUrlWithVersion("js/jquery.sortElements.js") ?>"></script>
@ -120,7 +120,7 @@
<img id="searchImage" src="<?php echo getUrlWithVersion("images/setting64.png") ?>" alt="Settings and menu" /> <img id="searchImage" src="<?php echo getUrlWithVersion("images/setting64.png") ?>" alt="Settings and menu" />
</div> </div>
<div class="headcenter"> <div class="headcenter">
<p><?php echo $currentPage->title ?></p> <p><?php echo htmlspecialchars ($currentPage->title) ?></p>
</div> </div>
</div> </div>
<div class="clearer" /> <div class="clearer" />