h5p/h5p-documentation-tool

Possible bug in document export

Opened this issue · 0 comments

HTML entities like   used in description fields are exported as text into the word-document. This entity is treated as a space in the h5p-resource and in the document preview. But when you open the document these codes appear as text.
The same HTML entity (  ) used in title-fields doesn't have this behaviour. Those appear as a space in both the h5p-resource and the exported document.
Below you can find printscreens form an example.
The h5p-resource example is also uploaded on h5p.org and can be viewed with this url: https://h5p.org/node/1252514

printscreens - h5p-resourrce with document export page:
2022-03-01 12 56 02 h5p org 9b9863f2eee4

printscreens - document preview:
2022-03-01 12 56 40 h5p org 0e90701868e3

printscreens - exported document in word-editor:
2022-03-01