Skip to content

Commit

Permalink
fixing bug for broken utils/round_trip.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
xyz65535 committed Oct 22, 2024
1 parent c90eb71 commit 41438d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/coradoc/transformer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ class NamedAttribute < Struct.new(:key, :value); end
elsif delimiter_c == "+"
Element::Block::Pass.new(opts)
elsif delimiter_c == "-"
if (attribute_list.positional[0] == "quote")
if (attribute_list && attribute_list.positional[0] == "quote")
Element::Block::Quote.new(title, opts)
end
elsif delimiter_c == "_"
Expand Down

0 comments on commit 41438d9

Please sign in to comment.