Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Twig tags need the raw filter to display the real icon instead of jus…
Browse files Browse the repository at this point in the history
…t the html code
  • Loading branch information
Lucas Weijers committed Sep 7, 2017
1 parent d337cd8 commit ad33bf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ Display an icon with a custom class:
3. Display the icon as html character `&#00000`

{{ entry.fieldName.iconChar }}
{{ entry.fieldName.iconChar|raw }}
4. Display the icon as html character hex `&#xf100`

{{ entry.fieldName.iconCharHex }}
{{ entry.fieldName.iconCharHex|raw }}
5. Display the icon as span with character and font class

{{ entry.fieldName.iconSpan }}
{{ entry.fieldName.iconSpan|raw }}
6. Get the icon font class

Expand Down

0 comments on commit ad33bf1

Please sign in to comment.