module Middleman::Util
def self.normalize_path(path)
-
(String)
-
Parameters:
-
path
(String
) --
def self.normalize_path(path) # The tr call works around a bug in Ruby's Unicode handling path.sub(%r{^/}, "").tr('','') end
(String)
-
path
(String
)
--
def self.normalize_path(path) # The tr call works around a bug in Ruby's Unicode handling path.sub(%r{^/}, "").tr('','') end