Iona.Template.Helper
Provides basic template helper functions.
The most important function is escape
, which is automatically applied to any
value in a <%= %>
concat tag.
Summary
escape(text) | Escape raw LaTeX commands and reserved characters, to include: |
raw(text) | Mark text as a string to be inserted raw and unescaped |
Functions
Escape raw LaTeX commands and reserved characters, to include:
- Angle brackets and curly braces
- Backslashes
- Carets
- Tildes
- Pipes
- More! (See the
@replace
module attribute)
Mark text as a string to be inserted raw and unescaped