I'm not sure if the formatting is intentional, but I wanted to document it just in case. Formatting html tags with lengthy and/or multiple attributes produces unexpected results.
Input:
<div class="bg-white border-l-4 shadow-lg rounded-lg p-6 mb-6" role="alert" style="border-left-color: #B9D400; background-color: #F0F8E8;">
Output:
<div
class="bg-white border-l-4 shadow-lg rounded-lg p-6 mb-6"
role="alert"
style="border-left-color: #B9D400; background-color: #F0F8E8;"
>
Expected:
<div class="bg-white border-l-4 shadow-lg rounded-lg p-6 mb-6" role="alert" style="border-left-color: #B9D400; background-color: #F0F8E8;">
...or possibly:
<div class="bg-white border-l-4 shadow-lg rounded-lg p-6 mb-6" role="alert"
style="border-left-color: #B9D400; background-color: #F0F8E8;">
I'm not sure if the formatting is intentional, but I wanted to document it just in case. Formatting html tags with lengthy and/or multiple attributes produces unexpected results.
Input:
Output:
Expected:
...or possibly: