Solution to the problem of saving format in textarea of HTML

Time:2020-6-25

The format of textarea can be saved to the database when it is saved, but the page cannot be displayed according to the format at the beginning because of /n and non rotation. Therefore, when the page is displayed, a layer should be nested outside the value

Label, i.e

Copy code

The code is as follows:

< pre >${model.name}</ pre >