Hello everyone,
I've always thought that Moodle somehow trims white spaces at the beginning and at the end of a short answer that the student inputs but apparently it does not. Today I had a question where the answer was 'is' and my student typed in 'is ', hitting the space bar accidentally or something. His answer was marked as incorrect and I had to rack my brain and experiment before I realised what was wrong.
Is it somehow possible to tweak the Moodle code, so that it would first trim all the white spaces at the beginning and at the end of short answers? In this very case, for example, for my answer 'is' answers like ' is' and ' is ' would be correct.
I appreciate any help