mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
fix: handle codeimporter URL encoding
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
{{ $startLine = sub $startLine 1 }}
|
{{ $startLine = sub $startLine 1 }}
|
||||||
{{ $endLine := .Get "endLine" | default -1 | int }}
|
{{ $endLine := .Get "endLine" | default -1 | int }}
|
||||||
{{ $selectedLines := slice }}
|
{{ $selectedLines := slice }}
|
||||||
{{ with resources.GetRemote ( printf $url ) }}
|
{{ with resources.GetRemote (urls.Parse $url) }}
|
||||||
{{ $lines := split .Content "\n" }}
|
{{ $lines := split .Content "\n" }}
|
||||||
{{ $totalLine := $lines | len }}
|
{{ $totalLine := $lines | len }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user