Wechat's official account has failed to change the line.

on the latest version of Wechat, the line wrapping of the text message automatically replied by the official account is invalid, whether it is line wrapping in the code or adding \ n (with double quotation marks). You can wrap it with the
tag, but the tag is not hidden. Is there any solution? I think there is no problem with the line change of other official accounts, and mine is no problem before, but it has been invalid since Wechat"s update.

The

problem has been resolved because the Content-type: text/xml

caused by not adding the xml header

it's not Wechat's problem if you can't. Check to see if the data stored in the database is encoded, or whether the extracted data is escaped

\ r\ n\ n find out?


\r\n

there are two reasons,
1, code problem
2, due to the addition of CDN.

  • computer side configuration

image.png

word

image.png

as can be seen from the figure above, enter in word represents line change, which can be displayed normally in mobile phone

this is my coincidental discovery. You can also try to write some responses in markdown format. If you render, it should be the same

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3831d-43c25.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3831d-43c25.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?