fix: 不再处理 span 和 a
This commit is contained in:
parent
421fc1a846
commit
5aa7fbfe64
@ -2,7 +2,7 @@ const {addIdForHeaders, markAndSwapAll} = require('@awesome-fe/translate');
|
||||
|
||||
const {JSDOM} = require('jsdom');
|
||||
|
||||
const selectorGroups = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'section', 'p', 't', 'span', 'a'];
|
||||
const selectorGroups = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'section', 'p', 't'];
|
||||
|
||||
function mark(text) {
|
||||
const dom = new JSDOM(text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user