0

I would like to insert a   special character between two element.

e.g, after the i tag defined like this:

%i.icon-off

How can I do that?

Mike Aski
  • 9,180
  • 4
  • 46
  • 63

2 Answers2

1

Based on your comments in the other answer, here are a few different ways I'd write this:

 i.icon-off
 |  #{t "menu.logout"}

Note the extra space before '#'. The one right after the '|' is optional and gets ignored if present so you have to use one more.

Could also write

 i.icon-off
 |  {{t "menu.logout"}}
0

I finally found the way:

%i.icon-off
|  
t "menu.logout"

But in other simpler cases, you can also use:

i.icon-off  
Mike Aski
  • 9,180
  • 4
  • 46
  • 63