Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
roktas committed Sep 13, 2024
1 parent 8574507 commit 3a2b49a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphics/lib/sevgi/graphics/mixtures/render.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def contents(element, depth)
end
end

def floating?(element) = element.Is?(:"-")
def floating?(element) = element.Is?(:_)

ELEMENTS_WITH_INLINE_CONTENT = %i[ title ].freeze
ELEMENTS_WITH_BLOCK_CONTENT = %i[ style ].freeze
Expand Down
2 changes: 1 addition & 1 deletion graphics/lib/sevgi/graphics/mixtures/underscore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Graphics
module Mixtures
module Underscore
def _(*contents)
self.class.call(:_, parent: self, contents:)
Element(:_, *contents)
end

def Ancestral
Expand Down

0 comments on commit 3a2b49a

Please sign in to comment.