摘要: public htmlToText(html: string) { return html .replace(/<br>/g, '') .replace(/<p>/g, '') .replace(/<\/p>/g, '') .replace(/<\s*b[^>]*>/g, '') .replace( 阅读全文
posted @ 2021-05-20 18:42 _ryze 阅读(60) 评论(0) 推荐(0) 编辑