mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-12 23:06:23 +00:00
fix: handle codeimporter URL encoding
This commit is contained in:
1 parent
8a710a5f1a
commit
c91bc9dfb5
1 file changed
+1
-1
@@ -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 }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user