Skip to content

Bug #3203 - Fix for download plans docx being malformed if it has - #3207

Merged
briri merged 1 commit into
masterfrom
bug_3203_error_in_docx_xml_when-dowloading_plans
Aug 30, 2022
Merged

Bug #3203 - Fix for download plans docx being malformed if it has#3207
briri merged 1 commit into
masterfrom
bug_3203_error_in_docx_xml_when-dowloading_plans

Conversation

@johnpinto1

@johnpinto1 johnpinto1 commented Aug 12, 2022

Copy link
Copy Markdown
Contributor

character combinations lik \0.. or \F.., e,g, as in
G:\Hematologie\Onderzoek\Studie Team Hematologie\Studies op alfabet\studies\RODEO\00. DIGITAAL ISF\03. Contracts - Agreements\a. Clinical Trial Agreement.

Failing content ensures docx loses data:
Selection_010

Fix for issue #3203.

Change:
The htmltoword gem converts html to docx, so we clean the html string by
replacing single backslashes \ by double backslashes \.

Failing content now fixed and document rendered in full
Selection_009

@johnpinto1
johnpinto1 force-pushed the bug_3203_error_in_docx_xml_when-dowloading_plans branch from 8f04e3d to 3893b31 Compare August 12, 2022 11:45
character combinations lik \0.. or \F.., e,g, as in
 G:\Hematologie\Onderzoek\Studie Team Hematologie\Studies op alfabet\studies\abc\00. DIGITAAL ISF\03. Contracts - Agreements\a. Clinical Trial Agreement.

Fix for issue #3203.

Change:
The htmltoword gem converts html to docx, so we clean the html string by
replacing single backslashes \ by double backslashes \\.
@johnpinto1
johnpinto1 force-pushed the bug_3203_error_in_docx_xml_when-dowloading_plans branch from 3893b31 to 563b882 Compare August 12, 2022 11:52
@briri
briri merged commit 08853aa into master Aug 30, 2022
@briri
briri deleted the bug_3203_error_in_docx_xml_when-dowloading_plans branch August 30, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants