Closed rmand97 closed 1 year ago
~H""" <div class="flex flex-row gap-3 justify-center items-center text-lg"> <CP.tooltip :for={{route, icon, text, _} <- @menu_items}> <a class="text-gray-500" href={route}> <i class={icon}></i> </a> <:hover_content> <%= text %> </:hover_content> </CP.tooltip> </div> """
is formatted into
~H""" <div class="flex flex-row items-center justify-center gap-3 text-lg"> <CP.tooltip :for={{route, icon, text, _} <- @menu_items}> <a class="text-gray-500" href={route}> <i class={"icon"}></i> </a> <:hover_content> <%= text %> </:hover_content> </CP.tooltip> </div> """
You can see the icon variable of the < i > tag is converted into a string.
Published a new release (v0.3.5) with your code as a test case.
Let me know if any other errors crop up 👍
is formatted into
You can see the icon variable of the < i > tag is converted into a string.