Skip to content

Commit

Permalink
Apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
mverzilli committed Feb 10, 2025
1 parent f895649 commit 997f40b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/markd/src/markd/options.cr
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module Markd
@source_pos = false,
@safe = false,
@prettyprint = false,
@base_url = nil
@base_url = nil,
)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/markd/src/markd/renderers/html_renderer.cr
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ module Markd
@last_output = ">"
end

private def tag(name : String, attrs = nil)
private def tag(name : String, attrs = nil, &)
tag(name, attrs)
yield
tag(name, end_tag: true)
Expand Down
2 changes: 1 addition & 1 deletion lib/markd/src/markd/utils.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require "json"

module Markd
module Utils
def self.timer(label : String, measure_time? : Bool)
def self.timer(label : String, measure_time? : Bool, &)
return yield unless measure_time?

start_time = Time.utc
Expand Down

0 comments on commit 997f40b

Please sign in to comment.