Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文本处理 #132

Open
dlrandy opened this issue Sep 12, 2019 · 0 comments
Open

文本处理 #132

dlrandy opened this issue Sep 12, 2019 · 0 comments

Comments

@dlrandy
Copy link
Owner

dlrandy commented Sep 12, 2019

html里的文本换行:
1,使用InnerHTML
2, 使用BR tag
3,使用 pre tag + \n
4, 使用 white-space: pre + \n

reference https://www.cnblogs.com/_error/p/9989381.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant