class Asciidoctor::AbstractNode
def normalize_web_path(target, start = nil, preserve_uri_target = true)
preserve_uri_target - a Boolean indicating whether target should be preserved if contains a URI (default: true)
start - the String start (i.e, parent) path (optional, default: nil)
target - the String target path
See {PathResolver#web_path} for details about path resolution and encoding.
Public: Normalize the web path using the PathResolver.
def normalize_web_path(target, start = nil, preserve_uri_target = true) if preserve_uri_target && (Helpers.uriish? target) Helpers.encode_spaces_in_uri target else @document.path_resolver.web_path target, start end end