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
48eabc06
Commit
48eabc06
authored
Jul 08, 2014
by
alexpott
Browse files
Issue
#2036611
by er.pushpinderrana, droplet: Fix drupal_placeholder doc.
parent
35458b5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Component/Utility/String.php
View file @
48eabc06
...
...
@@ -74,7 +74,10 @@ public static function decodeEntities($text) {
* - @variable: Escaped to HTML using String::checkPlain(). Use this as the
* default choice for anything displayed on a page on the site.
* - %variable: Escaped to HTML and formatted using String::placeholder(),
* which makes it display as <em>emphasized</em> text.
* which makes the following HTML code:
* @code
* <em class="placeholder">text output here.</em>
* @endcode
* - !variable: Inserted as is, with no sanitization or formatting. Only use
* this for text that has already been prepared for HTML display (for
* example, user-supplied text that has already been run through
...
...
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