Clarified documentation comment for encodeAttribute.
This commit is contained in:
parent
49883b131c
commit
1e69a09585
1 changed files with 2 additions and 1 deletions
|
|
@ -1242,7 +1242,8 @@ class Markdown_Parser {
|
|||
|
||||
function encodeAttribute($text) {
|
||||
#
|
||||
# Encode text for a double-quoted HTML attribute.
|
||||
# Encode text for a double-quoted HTML attribute. This function
|
||||
# is *not* suitable for attributes enclosed in single quotes.
|
||||
#
|
||||
$text = $this->encodeAmpsAndAngles($text);
|
||||
$text = str_replace('"', '"', $text);
|
||||
|
|
|
|||
Loading…
Reference in a new issue