mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
fix: handle codeimporter URL encoding
This commit is contained in:
parent
8a710a5f1a
commit
c91bc9dfb5
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
{{ $startLine = sub $startLine 1 }}
|
||||
{{ $endLine := .Get "endLine" | default -1 | int }}
|
||||
{{ $selectedLines := slice }}
|
||||
{{ with resources.GetRemote ( printf $url ) }}
|
||||
{{ with resources.GetRemote (urls.Parse $url) }}
|
||||
{{ $lines := split .Content "\n" }}
|
||||
{{ $totalLine := $lines | len }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue