Problems with Marks the words - a whole sentence

We are using the Mark the words assignment type. The assignments is set up, so that you can mark one word at a time, and not a whole sentence.

In a forum post on this site, we found a solution to the problem. By inserting &#32 between each word in a sentence, h5p could now identify it as one coherent sentence that the students could click on, for an example


It has, until now, worked to great effect. But suddenly now, our students can se &#32 in the sentences, so something seems have changed.

Anyone who knows what the problem might be?

Ps. I have uploaded an h5p mark the words assignment that show the problem, but for unknown reasons it is labelled as a Single Choice Set.

BV52's picture

Hi Rasmusk,

Mark the Words was never designed to handle multiple words as the answer. The use of "&#32" was a workaround that takes advantage of a bug in the content. The bug has been resolved albeit unintentionally when another bug was worked on by the core team. Currently there is no way of fixing this issue since this is not a bug but instead a lack of feature.

Ps. The file that you uploaded may have been a different content and was titled as such. Changing the content and title does not change the file name in the database, hence the name of the file.


Hi Again

Dio you know if there is any other way to achieve this functionality with h5p?

Kind regards, Rasmus

BV52's picture

Hi Rasmus,

It may not be a perfect solution but you may use Single Choice set as substitute.