There is a new experience for Spencode

xiaoxiao2021-03-06  66

There is a new experience for Spencode

Today is a WebPart that shows images, so there is a new experience for Spencode.

Last time, I understand that using the spentcode.htmlencode () function converts the string into the text of the HTML format. Today, since there is an existing database, the spentcode.htmldecode () function is used again.

I have started, I didn't use this function. The result is the text, there is no wrap, only the wrap symbol

, I used spentcode.htmldecode (), will

Convert to "/ r / n" and the display is normal.

I understand now:

Spencode.htmlencode () is converted into the html symbol in the character creation, such as

Spencode.htmldecode () is just the opposite.

Therefore, these two functions are used in a complete encoding and decoding process.

转载请注明原文地址:https://www.9cbs.com/read-111073.html

New Post(0)