Issue #2036611 by er.pushpinderrana, droplet: Fix drupal_placeholder doc.

8.0.x
Alex Pott 2014-07-08 15:13:01 +01:00
parent 35458b5dfe
commit 48eabc060f
1 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,10 @@ class String {
* - @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