module Middleman::Util

def self.normalize_path(path)

Returns:
  • (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