Flashcards noncapitalising first letter in creation

villon's picture

Hello all,

Is there a way to prevent words from being capitalised at the beginning of words on the question/task page when using the content type flashcards?
I had created an exercise where verbs are presented in the infinitive and should be entered in the past tense on the answer page. Unfortunately, the content type always converted the infinitive form the lower case letter to a capital letter. I would be grateful for any hints.

BV52's picture

Hi villon,

Unfortunately, this has not been resolved yet: https://h5ptechnology.atlassian.net/browse/HFP-2091


otacke's picture

Hi all!

It's quite amazing that over 5 years have passed at least and nobody has ever fixed this - not amazing in a good way.

Please find the few lines of code required wrapped in a pull request at https://github.com/h5p/h5p-flashcards/pull/114. Please also find the ticket that has been created in H5P Group's ticket repository that you can use to track progress.


villon's picture

Hello Oliver,

thank you Oliver for the answer and the information.
Then I guess I will have to wait.



otacke's picture

If you need a fix right away and can add CSS overrides, you can override the stylesheet class that I have removed in the source code, too.