mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -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 }}
|
{{ $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 }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue