diff --git a/app/services/reports/html_to_word_converter.rb b/app/services/reports/html_to_word_converter.rb index b4ccc55cb..e05862f7f 100644 --- a/app/services/reports/html_to_word_converter.rb +++ b/app/services/reports/html_to_word_converter.rb @@ -25,7 +25,7 @@ module Reports style = elem[:style] || {} # print heading if its heading # Mixing heading with other style setting causes problems for Word - if %w(h1 h2 h3 h4 h5).include?(style[:style]) + if %w(h1 h2 h3 h4 h5 h6).include?(style[:style]) @docx.public_send(style[:style], elem[:value]) else @docx.p elem[:value] do