From bc4c9915370b5d3eb5253c0a1c8131b718303652 Mon Sep 17 00:00:00 2001 From: ruleroller Date: Wed, 19 Jun 2019 17:48:04 +0800 Subject: [PATCH] fix: #2442 (#2443) --- lib/routes/appstore/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/appstore/update.js b/lib/routes/appstore/update.js index 84248846f..a5a41a8fe 100644 --- a/lib/routes/appstore/update.js +++ b/lib/routes/appstore/update.js @@ -13,7 +13,7 @@ module.exports = async (ctx) => { titleTags.find('span').remove(); const platform = $('.we-localnav__title__product').text(); - const title = `${titleTags.text().trim()} for ${platform === 'App\u00A0Store' ? 'iOS' : 'macOS'} ${country === 'cn' ? '更新' : 'Update'} `; + const title = `${titleTags.text().trim()} for ${platform === 'App Store' ? 'iOS' : 'macOS'} ${country === 'cn' ? '更新' : 'Update'} `; const item = {}; $('.whats-new').each(function() {