Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi. I'm trying to develop a site using Umbraco + MVC / Razor + TailwindCSS
I've run into this weird problem where '/' is being stripped from the HTML - SOMETIMES..
After consulting other professionals on ASP.NET Forum / MVC who tested and verified that its NOT MVC stripping the chars, im lead to believe that it's Umbraco !
in TailwindCSS a classname can be: "w-1/3" (Width of one 3rd)
The output is occationally missing the '/' char , breaking the HTML / design.
is there a setting somewhere i need to set to get rid of this problem ?
like i said, it seems inconsistant .. sometimes the '/' is stripped, sometimes it is not..
I haven't seen this behavior before. How are your views looking?
Like normal views ? 😅
what in particular would you like to know ?
Show me some code :) I use Tailwind too, and have never had these problems. Besides, Umbraco doesn't touch your markup at all. So it must be something else.
I've given up on finding the code that strips slashes ...
instead i extended TailwindCSS with fractions of 12 for declaring Width..
this is nicer and easier and doesn't contain invalid / bad practice chars in classnames.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted