diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-09 17:00:03 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-09 17:00:03 +0200 |
| commit | 1406b47e64188765f220be86001ec1f543e0157d (patch) | |
| tree | cca128ffc09c8b68e711f7eccd19fdf97f9cf807 /lib/axlsx/workbook/worksheet/comments.rb | |
| parent | c77a48805c17d36c4503df8cf0fe75e7b620e2d4 (diff) | |
| download | caxlsx-1406b47e64188765f220be86001ec1f543e0157d.tar.gz caxlsx-1406b47e64188765f220be86001ec1f543e0157d.zip | |
Fix Layout/ExtraSpacing offenses
Configure with `AllowBeforeTrailingComments: true`
Diffstat (limited to 'lib/axlsx/workbook/worksheet/comments.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/comments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/comments.rb b/lib/axlsx/workbook/worksheet/comments.rb index 452b198f..f6f3071b 100644 --- a/lib/axlsx/workbook/worksheet/comments.rb +++ b/lib/axlsx/workbook/worksheet/comments.rb @@ -65,7 +65,7 @@ module Axlsx def to_xml_string(str = "") str << '<?xml version="1.0" encoding="UTF-8"?>' str << ('<comments xmlns="' << XML_NS << '"><authors>') - authors.each do |author| + authors.each do |author| str << ('<author>' << author.to_s << '</author>') end str << '</authors><commentList>' |
