Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
34544d4d
Commit
34544d4d
authored
Aug 28, 2005
by
Dries
Browse files
- Unrolled patch
#29103
: always encode apostrophes.
parent
8f32c39d
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
34544d4d
...
...
@@ -649,7 +649,7 @@ function t($string, $args = 0) {
* Encode special characters in a plain-text string for display as HTML.
*/
function
check_plain
(
$text
)
{
return
htmlspecialchars
(
$text
);
return
htmlspecialchars
(
$text
,
ENT_QUOTES
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment