We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 977ab05 + 05b1c47 commit 5878a39Copy full SHA for 5878a39
2 files changed
.github/workflows/ruby.yml
@@ -22,6 +22,7 @@ jobs:
22
- 3.2
23
- 3.3
24
- 3.4
25
+ - 4.0
26
- head
27
28
steps:
@@ -35,4 +36,6 @@ jobs:
35
36
- name: Run tests
37
env:
38
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
39
+ RUBYOPT: "--enable-frozen-string-literal --debug-frozen-string-literal"
40
run: bundle exec rake spec
41
+
lib/docx/containers/paragraph.rb
@@ -44,7 +44,7 @@ def to_s
44
45
# Return paragraph as a <p></p> HTML fragment with formatting based on properties.
46
def to_html
47
- html = ''
+ html = +''
48
text_runs.each do |text_run|
49
html << text_run.to_html
50
end
0 commit comments