Open gisma opened 4 years ago
Allerdings sollten die <html>
tags um <iframe>
tags entfernt werden. Also
<html><iframe src="https://docs.google.com/presentation/d/1jtXgJcNaaiWerBJfGQPJDcvyawSaPiWcMLk_RTcFUG0/embed?start=false&loop=false&delayms=3000" frameborder="0" width="768" height="605" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"> </iframe></html>
zu
<iframe src="https://docs.google.com/presentation/d/1jtXgJcNaaiWerBJfGQPJDcvyawSaPiWcMLk_RTcFUG0/embed?start=false&loop=false&delayms=3000" frameborder="0" width="768" height="605" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true">
</iframe>
bearbeitet
Von: Chris Reudenbach notifications@github.com Gesendet: Samstag, 9. November 2019 20:23 An: environmentalinformatics-marburg/translate_wiki_to_md translate_wiki_to_md@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [environmentalinformatics-marburg/translate_wiki_to_md] html tag (#2)
Falls ein HTML Tag für exterene Bilderquellen vorhanden ist wird dieser nicht korrekt umgesetzt. Das Resultat ist wie folgt:
![ ]()
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d1/Fr%C3%A4nkische-Schweiz-westliche-Kante-16-05-2005.jpeg/640px-Fr%C3%A4nkische-Schweiz-westliche-Kante-16-05-2005.jpeg?uselang=de" title="View from the west of the Fränkische Schweiz. In the center of the photo you can see the escarpment outlier // Walberla// ">``<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/d/d1/Fr%C3%A4nkische-Schweiz-westliche-Kante-16-05-2005.jpeg/640px-Fr%C3%A4nkische-Schweiz-westliche-Kante-16-05-2005.jpeg?uselang=de" width="250" alt="Fränkische Schweiz Westrand">``</a>``</a>
</html>
Lösung 1: einfach vollständig ohne Änderung übertragen:
wird zu:
Lösung 2: Parsen damit das Ergebnis wie folgt aussieht:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/environmentalinformatics-marburg/translate_wiki_to_md/issues/2?email_source=notifications&email_token=ABBRKSDTIDGAMLC2NKEXBN3QS4E2ZA5CNFSM4JLJGAFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYGHC5Q , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBRKSF6QPKQKGEG5RTFFTDQS4E2ZANCNFSM4JLJGAFA . http://cdn.mailscanner.info/1x1spacer.gif
[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/environmentalinformatics-marburg/translate_wiki_to_md/issues/2?email_source=notifications\u0026email_token=ABBRKSDTIDGAMLC2NKEXBN3QS4E2ZA5CNFSM4JLJGAFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYGHC5Q", "url": "https://github.com/environmentalinformatics-marburg/translate_wiki_to_md/issues/2?email_source=notifications\u0026email_token=ABBRKSDTIDGAMLC2NKEXBN3QS4E2ZA5CNFSM4JLJGAFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYGHC5Q", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Falls ein HTML Tag für exterene Bilderquellen vorhanden ist wird dieser nicht korrekt umgesetzt. Das Resultat ist wie folgt:
Lösung: HTML Tags inklusiver der Tags vollständig ohne Änderung übertragen:
wird zu: