When we display long text, we often need to intercept characters on the C# side, but this is definitely not a good aspect, because our long text is often marked on HTML. If you don't load it well, there will be garbled problems (half HTML mark appears), and the better way is to implement this function through CSS
When the content exceeds the force, the span tag will automatically wrap the line.
Copy the code