|
@@ -140,7 +140,7 @@ export const toTextProps = (json) => {
|
|
if ('tagName' in item && item.tagName === 'br') {
|
|
if ('tagName' in item && item.tagName === 'br') {
|
|
slices.push({ text: '', options: { breakLine: true } })
|
|
slices.push({ text: '', options: { breakLine: true } })
|
|
} else if ('content' in item) {
|
|
} else if ('content' in item) {
|
|
- const transStr = /(<|>|“|”|&|‘|’|—|≥|≤|·|Ø|∅)/g
|
|
|
|
|
|
+ const transStr = /(<|>|“|”|&|‘|’|—|≥|≤|·|ø|Ø|∅)/g
|
|
const text = item.content.replace(/\n/g, '').replace(/ /g, ' ').replace(transStr, replacer)
|
|
const text = item.content.replace(/\n/g, '').replace(/ /g, ' ').replace(transStr, replacer)
|
|
const options = {}
|
|
const options = {}
|
|
|
|
|