dobladov / youtube2Anki

Convert Youtube Transcripts to Anki cards
https://chrome.google.com/webstore/detail/youtube2anki/boebbbjmbikafafhoelhdjeocceddngi
GNU General Public License v3.0
88 stars 11 forks source link

Fix Send To Anki putting CSS into back template #8

Closed edoreld closed 5 years ago

edoreld commented 5 years ago

I've "fixed" the bug by making the Send to Anki fill the back template with an empty string, but I wonder if there wouldn't be a better piece of information to show.

It would be pretty handy if, assuming a video has 2 or more subtitles, one of the subtitles could be used to display data on the back template.

dobladov commented 5 years ago

Great catch!, this is what happens when I commit something before going on vacation, I was focus testing the import of cards but not the cards itself.

This is the correct content for the back side, would you mind to update your pull request with this so I can merge it for the next release?

"Back": `
  {{FrontSide}}
  <hr id=answer>
`

Thanks for your contribution!

edoreld commented 5 years ago

That should do it.

It's a cool program with potential, happy to contribute!