[aur-dev] [PATCH] Add CDATA markers

Marcel Korpel marcel.lists at gmail.com
Fri Feb 1 10:19:35 EST 2013


---
 web/html/home.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/html/home.php b/web/html/home.php
index 0b51d55..e857b8d 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -109,7 +109,7 @@ $dbh = db_connect();
 </div>
 <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
 <script type="text/javascript" src="/js/bootstrap-typeahead.js"></script>
-<script type="text/javascript">
+<script type="text/javascript">//<![CDATA[
 $(document).ready(function() {
     $('#pkgsearch-field').typeahead({
         source: function(query, callback) {
@@ -123,6 +123,6 @@ $(document).ready(function() {
         items: 20
     }).attr('autocomplete', 'off');
 });
-</script>
+//]]></script>
 <?php
 html_footer(AUR_VERSION);
-- 
1.8.1.1



More information about the aur-dev mailing list