- Issue created by @hudri
- @hudri opened merge request.
- Status changed to Fixed
almost 2 years ago 4:05pm 20 February 2023
In Ajax requests, some Tailwind classes are not properly injected, even though they are included in the source content.
An ajax request in Drupal uses UTF-8 encoded quotes \u022
and encoded slashes \/
. Tailwind's parser assumes plain code and therefore doesn't detect classes containting or adjacent to those encoded symbols.
Decode the request and use the unencoded request payload as content source for the compiler.
Fixed
1.0
Code