forked from vuejs/vue
-
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.
fix(SSR): Properly handle newlines and whitespace in SSR classnames
When encountering newlines in SSR classnames, do not render "\n"" and instead replace the new line with a space. Once newlines are removed, indentation from subsequent lines can leave classnames abnormally spaced out, so replace multiple spaces with a single space fix vuejs#7859
- Loading branch information
1 parent
5e3823a
commit 6b71f97
Showing
2 changed files
with
32 additions
and
1 deletion.
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