Using decodeEntities to decide whether we should encode is not a good choice, because we cannot control whether decode entities when using ... ... <看更多>
Search
Search
Using decodeEntities to decide whether we should encode is not a good choice, because we cannot control whether decode entities when using ... ... <看更多>
In order to sort that issue, I just had to turn off this config by adding: decodeEntities: false as a cheerio load param. ... <看更多>
用cheerio 的時候如果不設 decodeEntities: false , 就會把非ascii 都跳脫為 的形式, 中文就會無法閱讀。 但decode entities false 會將 ... ... <看更多>
... <看更多>
... <看更多>