how to coding nest tags in language slim

I would like to write below in language slim.

<li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>  

and

<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>  

I can embed it by inline HTML, so just interesting.


Source: ruby

Leave a Reply