diff --git a/index.js b/index.js index bd5de68..7c23d4c 100644 --- a/index.js +++ b/index.js @@ -155,7 +155,7 @@ function *genFeed() { }) this.set('Content-Type', 'application/xml; charset=utf-8') - this.body = feed.xml() + this.body = feed.xml().replace(/[\u0000-\u0008\u0011-\u001F\u007F\u0080-\u009F]/g, '�') } function *genFeedFromPage() {