Flashcard module add-on: Using html formating in text flash cards. Possible?

Flashcard module add-on: Using html formating in text flash cards. Possible?

by Sergei Yegorov -
Number of replies: 2

Is it possible to use html formatting in text flash cards? When I try to use <b></b> the script cuts them off. What must be changed in php/database so that html formatting can be stored in the database and displayed?

Average of ratings: -
In reply to Sergei Yegorov

Re: Flashcard module add-on: Using html formating in text flash cards. Possible?

by Tomasz Muras -
Picture of Core developers Picture of Plugin developers Picture of Plugins guardians Picture of Translators

Hi Sergei,

I think it makes sense to allow for HTML in questions and answers. I've done the change to the flashcards module I maintain (for Moodle 2.0). If you want it, simply download latest version of the module.

If you want to apply the same change for Moodle 1.9, here is a diff:
https://github.com/tmuras/Moodle-Flashcard/commit/34336eb527d117290728c341251de7e498abad16

cheers,
Tomasz Muras

In reply to Tomasz Muras

Re: Flashcard module add-on: Using html formating in text flash cards. Possible?

by Sergei Yegorov -

Hello Tomasz,
Thank you for your great help! I changed my 1.9 version and it works fine. Moreover, media filters work for flash cards and I can embed audio and video files (haven’t tried video yet).

Thanks again!