mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-15 12:27:43 +08:00
Fix typo
This commit is contained in:
parent
531c66c955
commit
a5b4f78f10
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ func updateHandler(cmd *cobra.Command, args []string) {
|
|||
// Check if user really want to batch update archive
|
||||
if nBook := len(bookmarks); nBook > 5 && !offline && !noArchival && !skipConfirm {
|
||||
fmt.Printf("This update will generate offline archive for %d bookmark(s).\n", nBook)
|
||||
fmt.Println("This might take a long time and uses lot of your network bandwith.")
|
||||
fmt.Println("This might take a long time and uses lot of your network bandwidth.")
|
||||
|
||||
confirmUpdate := ""
|
||||
fmt.Printf("Continue update and archival process ? (y/N): ")
|
||||
|
|
|
@ -477,7 +477,7 @@ func processJS(input io.Reader, baseURL *nurl.URL) (string, []ResourceURL) {
|
|||
|
||||
// Process the string.
|
||||
// Unlike CSS, JS doesn't have it's own URL token. So, we can only guess whether
|
||||
// a string is URL or not. There are several criterias to decide if it's URL :
|
||||
// a string is URL or not. There are several criteria to decide if it's URL :
|
||||
// - It surrounded by `url()` just like CSS
|
||||
// - It started with http(s):// for absolute URL
|
||||
// - It started with slash (/) for relative URL
|
||||
|
|
Loading…
Reference in a new issue