[Vuejs]-New lines (<br>) is automatically getting added in Stylesheets

-1๐Ÿ‘

document.querySelector('br').remove();
<div>
Lorem Ipsum dolor set amet
</div>
<br>
<div >
Lorem Ipsum dolor set amet
</div><br>

You can use the simple script to remove the unnecessary tags.
Limit them to use within the parent element to not affect the other areas.

Leave a comment