Skip to content
Smarty Documentation
raw
Initializing search
Home
Getting started
Language reference
API
Smarty Documentation
Home
Getting started
Getting started
Introduction
Upgrading from an older version
Language reference
Language reference
Basic Syntax
Basic Syntax
Introduction
Comments
Variables
Operators
Tags
Attributes
Quotes
Escaping Smarty parsing
Variables
Variables
Introduction
Assigned from PHP
Variable scopes
From config files
{$smarty}
Modifiers
Modifiers
Introduction
capitalize
cat
count
count_characters
count_paragraphs
count_sentences
count_words
date_format
debug_print_var
default
escape
from_charset
indent
is_array
isset
join
json_encode
lower
noprint
number_format
nl2br
raw
raw
Table of contents
Basic usage
regex_replace
replace
round
spacify
split
str_repeat
string_format
strip
strip_tags
strlen
substr
to_charset
truncate
unescape
upper
wordwrap
Builtin Tags
Builtin Tags
Introduction
{append}
{assign}
{block}
{call}
{capture}
{config_load}
{debug}
{extends}
{for}
{foreach}
{function}
{if},{elseif},{else}
{include}
{insert}
{ldelim},{rdelim}
{literal}
{nocache}
{section}
{setfilter}
{strip}
{while}
Custom Tags
Custom Tags
Introduction
{counter}
{cycle}
{debug}
{eval}
{fetch}
{html_checkboxes}
{html_image}
{html_options}
{html_radios}
{html_select_date}
{html_select_time}
{html_table}
{mailto}
{math}
{textformat}
Config Files
Debugging Console
API
API
Basics
Configuring Smarty
Rendering a template
Using data in templates
Using data in templates
Assigning variables
Config files
Using streams
Objects
Static class methods
Template inheritance
Filters
Filters
Output filters
Prefilters
Postfilters
Template resources
Caching
Caching
Basics
Multiple caches per template
Custom cache storage layers
Extending Smarty
Extending Smarty
Introduction
Custom tags
Custom block tags
Custom modifiers
Creating an extension
Security
Table of contents
Basic usage
raw
Prevents variable escaping when
auto-escaping
is activated.
Basic usage
{
$myVar
|
raw
}