roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

[BUG]: Formatting errors in Word download

Open Danny-dK opened this issue 2 years ago • 0 comments

When downloading to Word, any question that has multiple newlines, does not get downloaded correctly.

Question format (downloaded correctly in PDF): image

When downloaded to Word: image

Additionally, when this happens, the hyperlink in the missing line gets shifted +1 to all other hyperlinks. Example:

  • question 1 contains 2 newlines with hyperlink 'abc' in the first line and hyperlink 'def' in the second, question 2 contains hyperlink 'ghi'.
  • In Word download because the second line with a hyperlink is missing, it is apparently shifted to the next occurrence of a hyperlink that will now in question 2 show the wrong hyperlink 'def'.

This can be solved by not using newlines within the question, but seems odd as the pdf does render correctly.

See file at question 3 for the correct hyperlinks and no shifting of hyperlinks (for example question 12 links to our storage finder). WUR_Plan_correct_hyperlink.docx

See file at question 3 for the missing line with the shifted hyperlink where question 12 now wrongly links to the missing hyperlink in question 3 (research institutes instead of our storage finder). WUR_Plan_wrong_hyperlink.docx

Danny-dK avatar Apr 05 '23 06:04 Danny-dK