forked from sveltejs/prettier-plugin-svelte
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat) trim whitespace in
class
attributes
fixes sveltejs#339
- Loading branch information
1 parent
7abac5f
commit f3963ef
Showing
5 changed files
with
84 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<button | ||
class="bg-green-500 text-gray-100 hover:bg-green-400 flex items-center px-4 py-2 border border-l-0 rounded-r " | ||
> | ||
Copy | ||
</button> | ||
<div | ||
class="bg-green-500 text-gray-100 hover:bg-green-400 flex items-center px-4 py-2 border border-l-0 rounded-r" | ||
> | ||
Copy | ||
</div> | ||
<span | ||
class="bg-green-500 text-gray-100 hover:bg-green-400 flex | ||
items-center px-4 py-2 border border-l-0 rounded-r " | ||
> | ||
Copy | ||
</span> | ||
<p | ||
class="bg-green-500 | ||
text-gray-100 hover:bg-green-400 flex items-center px-4 py-2 border border-l-0 rounded-r | ||
" | ||
> | ||
Copy | ||
</p> | ||
|
||
<P class="leave me alone because I'm a prop " /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<button | ||
class="bg-green-500 text-gray-100 hover:bg-green-400 flex items-center px-4 py-2 border border-l-0 rounded-r" | ||
> | ||
Copy | ||
</button> | ||
<div | ||
class="bg-green-500 text-gray-100 hover:bg-green-400 flex items-center px-4 py-2 border border-l-0 rounded-r" | ||
> | ||
Copy | ||
</div> | ||
<span | ||
class="bg-green-500 text-gray-100 hover:bg-green-400 flex | ||
items-center px-4 py-2 border border-l-0 rounded-r" | ||
> | ||
Copy | ||
</span> | ||
<p | ||
class="bg-green-500 | ||
text-gray-100 hover:bg-green-400 flex items-center px-4 py-2 border border-l-0 rounded-r | ||
" | ||
> | ||
Copy | ||
</p> | ||
|
||
<P class="leave me alone because I'm a prop " /> |