Add some loggin to HTML -> SSML function

This commit is contained in:
Jackson Harper 2022-08-29 21:43:05 +08:00
parent 5f2dc1f753
commit 5c4de078b5

View file

@ -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) {