refer to the CSS white-space attribute. By default, it is only a space, and there is no newline
.I encountered a thorny problem when working on a project. I used vue s v-bind to bind the data- attribute of the DOM element, as follows <a v-else class="js-fancybox" href="javascript:" @click="updateGallery(idx)" ...