Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to format vue html with prettier

//unexpected Format
<span class="dolorum atque aspernatur"
  >Est molestiae sunt facilis qui rem.</span
>
//Expected Format
<span class="dolorum atque aspernatur">
  Est molestiae sunt facilis qui rem.
</span>

//Adding this to the .prettierrc or .prettierrc.json file seems to fix this kind of issue:

"htmlWhitespaceSensitivity": "ignore"



Comment

PREVIOUS NEXT
Code Example
Html :: which of the following html tags are valid child items for the table elements? 
Html :: how to make the ignore part html like in ## 
Html :: Search CSV files for text 
Html :: where to store nft art 
Html :: Procent in html 
Html :: dropdown select with ul li stack overflow 
Html :: equal symbol expected spring form 
Html :: how to read file over two directory back 
Html :: disable suggestion input html yii2 
Html :: flipbook pdf html code 
Html :: html code for birthday wishes 
Html :: navratri 2020 
Html :: how to add extra line in html 
Html :: html,css,javascript top 50 quetions 
Html :: remove blank rows in html vs code 
Html :: marquee attributes 
Html :: Metabox 
Html :: svelte if in html attribute 
Html :: bootstrap form navbar for add new row 
Html :: html inframe map 
Html :: zoneofdevelopment 
Html :: HTML Computer Code Elements 
Html :: javascript timespan 
Html :: 6 May 2492. 
Html :: doc file reader html 
Html :: what is indentation in web development 
Html :: links mail 
Html :: modal in html, angular 
Html :: nuxt for add attribute select 
Html :: top js graphql clients 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =