Fix for the formatting issues with bullet points for exported docx plans
...
when viewed in an old Word editor.
The fix follows the solution suggested in the HtmlToWord bug "List item
bullets corrupted in Microsoft Word"
https://github.com/karnov/htmltoword/issues/73 suggested by David
Verhasselt @dv.
Changes:
- Firstly, removed earlier attempted fix in commit
5ef7e05 (Fix for format issues for
bullet points in Plan docx exports).
- Made a copy of Htmltoword (1.1.0) xslt stylesheets functions.xslt
and numbering.xslt and made changes suggested by https://github.com/karnov/htmltoword/issues/73
- Prepended the Htmltoword library XSLTHelper method xslt_path() in
config/initializers/htmlto_word_xslt_helper.rb. This method ensures
the Htmltoword library picks up the changed numbering.xslt template instead of
the library's version.
- pinned version of htmltoword to 1.1.0
Fix for issue #2147.
John Pinto
committed
on 1 Nov 2019