mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add some loggin to HTML -> SSML function
This commit is contained in:
parent
5f2dc1f753
commit
5c4de078b5
1 changed files with 2 additions and 0 deletions
|
|
@ -157,6 +157,8 @@ export const ssmlItemText = (item: SSMLItem): string => {
|
|||
}
|
||||
|
||||
export const htmlToSsml = (html: string, options: SSMLOptions): SSMLItem[] => {
|
||||
console.log('creating ssml with options', options)
|
||||
|
||||
const dom = parseHTML(html)
|
||||
const body = dom.document.querySelector('#readability-page-1')
|
||||
if (!body) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue