There was an error while loading. Please reload this page.
1 parent 8bada43 commit d2b1ac6Copy full SHA for d2b1ac6
1 file changed
lib/interscript/isc/document_builder.rb
@@ -149,14 +149,13 @@ def extract_metadata(arr)
149
Array(field[:notes]).each do |n|
150
note_val = n.is_a?(Hash) ? n[:note] : n
151
note_text = normalize_heredoc(unquote(note_val).to_s)
152
- note_text = note_text.sub(/"\z/, "")
+ note_text = note_text.sub(/["']\z/, "")
153
h[:notes] << note_text
154
end
155
when field.key?(:note)
156
h[:notes] ||= []
157
note_text = normalize_heredoc(unquote(field[:note]).to_s)
158
- # Strip trailing " leaked from multi-line YAML quoted items
159
160
161
when field.key?(:provenance)
162
h[:provenance] ||= []
0 commit comments