Closed dernorberto closed 1 year ago
fixed by changing dumpHtml function:
soup.findAll('img',class_="confluence-embedded-image")
to
soup.findAll('img',class_=re.compile("^confluence-embedded-image"))
this now includes all embeds starting with that class
example pageID: 716701697
HTML:
<a href="https://optile.atlassian.net/wiki/download/attachments/716701697/File.docx?version=1&modificationDate=1540461757616&cacheVersion=1&api=v2" rel="nofollow">
translates to RST:-
File.docx https://optile.atlassian.net/wiki/download/attachments/716701697/File.docx?version=1&modificationDate=1540461757616&cacheVersion=1&api=v2__ (attached)
cause:
<a href=...>
without a class