From ad33bf1903ef70697b30e5ec6deb2d1b7569b9ca Mon Sep 17 00:00:00 2001 From: Lucas Weijers Date: Thu, 7 Sep 2017 10:03:55 +0200 Subject: [PATCH] Twig tags need the raw filter to display the real icon instead of just the html code --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b63f3d..d6cd948 100644 --- a/README.md +++ b/README.md @@ -46,15 +46,15 @@ Display an icon with a custom class: 3. Display the icon as html character `�` - {{ entry.fieldName.iconChar }} + {{ entry.fieldName.iconChar|raw }} 4. Display the icon as html character hex `` - {{ 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