projects
/
diogenes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly fix htmlspecialchars.
[diogenes.git]
/
include
/
Text
/
Wiki
/
Parse
/
Default
/
Heading.php
diff --git
a/include/Text/Wiki/Parse/Default/Heading.php
b/include/Text/Wiki/Parse/Default/Heading.php
index
ae0f1fd
..
4a42e3a
100644
(file)
--- a/
include/Text/Wiki/Parse/Default/Heading.php
+++ b/
include/Text/Wiki/Parse/Default/Heading.php
@@
-81,7
+81,7
@@
class Text_Wiki_Parse_Heading extends Text_Wiki_Parse {
$id = 0;
}
$id = 0;
}
- $prefix = htmlspecialchars($this->getConf('id_prefix'));
+ $prefix = htmlspecialchars($this->getConf('id_prefix')
, ENT_COMPAT | ENT_HTML401, "ISO-8859-1"
);
$start = $this->wiki->addToken(
$this->rule,
$start = $this->wiki->addToken(
$this->rule,
@@
-104,4
+104,4
@@
class Text_Wiki_Parse_Heading extends Text_Wiki_Parse {
return $start . $matches[2] . $end . "\n";
}
}
return $start . $matches[2] . $end . "\n";
}
}
-?>
\ No newline at end of file
+?>