Show
Ignore:
Timestamp:
02/06/2008 02:09:23 AM (11 months ago)
Author:
armen
Message:

Used html::specialchars to create anchor.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/helpers/html.php

    r1905 r1951  
    8181                return 
    8282                // Parsed URL 
    83                 '<a href="'.$site_url.'"' 
     83                '<a href="'.self::specialchars($site_url, FALSE).'"' 
    8484                // Attributes empty? Use an empty string 
    8585                .(empty($attributes) ? '' : self::attributes($attributes)).'>' 
     
    101101                return 
    102102                // Base URL + URI = full URL 
    103                 '<a href="'.url::base(FALSE, $protocol).$file.'"' 
     103                '<a href="'.self::specialchars(url::base(FALSE, $protocol).$file, FALSE).'"' 
    104104                // Attributes empty? Use an empty string 
    105105                .(empty($attributes) ? '' : self::attributes($attributes)).'>'