Compare Revisions
Last modification
- Rev 13 2010-06-15 01:31:06
- Author: PointedEars
- Log message:
* features.class.php
- Use script encoding for htmlspecialchars()
* footnotes.class.php
- Added prefix, suffix, and tooltip (title) support
* global.inc
- Added reduceWhitespace()
/trunk/features.class.php |
2,6 → 2,9 |
|
require_once 'global.inc'; |
|
define('FEATURES_ENCODING', |
mb_detect_encoding(file_get_contents($_SERVER['SCRIPT_FILENAME']))); |
|
/** |
* A list of language features with URNs definitions |
* for reference links. |
402,7 → 405,12 |
{ |
if (!empty($ver)) |
{ |
echo ' title="Test code: ' . htmlspecialchars(stripslashes($ver)) . '"'; |
echo ' title="Test code: ' |
. htmlspecialchars( |
stripslashes($ver), |
ENT_COMPAT, |
FEATURES_ENCODING) |
. '"'; |
} |
else |
{ |