mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix blockquote not being recognized
This commit is contained in:
parent
3cf4563466
commit
7b0499f29d
1 changed files with 2 additions and 2 deletions
|
|
@ -204,9 +204,9 @@ export const htmlToSsml = (html: string, options: SSMLOptions): SSMLItem[] => {
|
|||
}
|
||||
|
||||
const items: SSMLItem[] = []
|
||||
for (let i = 1; i < parsedNodes.length + 1; i++) {
|
||||
for (let i = 2; i < parsedNodes.length + 2; i++) {
|
||||
const textItems: string[] = []
|
||||
const node = parsedNodes[i - 1]
|
||||
const node = parsedNodes[i - 2]
|
||||
|
||||
if (TOP_LEVEL_TAGS.includes(node.nodeName) || hasSignificantText(node)) {
|
||||
i = emitElement(textItems, node, true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue