lib/inline_fn.rb in inline_fn-0.1.3 vs lib/inline_fn.rb in inline_fn-0.1.4
- old
+ new
@@ -1,14 +1,14 @@
# frozen_string_literal: false
-require_relative "inline_fn/version"
+require_relative 'inline_fn/version'
# Change markdown footnotes format from `[^1]/[^1]:Note` to inline Pandoc or MMD style `^[Note]/[^Note]`.
module InlineFn
class Error < StandardError; end
def inline_fn(str, style = :pandoc)
- ref_start = ""
+ ref_start = ''
text = str
counter = 0
until ref_start.nil?
counter += 1