Open ivan-kuzma-scx opened 2 years ago
thanks, got a fix for this on dev
Thank you!
Hello @spencermountain , have found another one. Not sure if they are related.
thanks @Patrik-scx - i've reproduced this below:
let str = `The '''Byzantine Empire''' {{IPAc-en|z|{|n}} also referred to as the Eastern Roman Empire`
let doc = wtf(str)
console.log(doc.sentences()[0].text())
looks like the IPAc template is getting caught on the {
character. Will add this to the next release.
cheers
Cheers
Hello @spencermountain ,
Just found additional meta in first sentence of "Jewish diaspora".
here's the issue - the <br/>
tag becomes a double-newline, which is considered two paragraphs, which trips the image parser:
str = `[[File:Jewish people around the world.svg|thumb|Map of the Jewish diaspora.<br/>
foobar]]`
let doc = wtf(str)
console.log(doc.images())
// []
this may be a stumper. I'm pretty wary of supporting links that span paragraphs cheers
Hello @spencermountain ,
just found one thing with first sentence while parsing Jesus topic. https://en.wikipedia.org/wiki/Jesus
Cheers