mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-18 02:47:33 +08:00
Default to webpage title, not URL, if user specifies no title
This commit is contained in:
parent
fbd4e37643
commit
c55b1a3fef
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func addHandler(cmd *cobra.Command, args []string) {
|
|||
logArchival, _ := cmd.Flags().GetBool("log-archival")
|
||||
|
||||
// Normalize input
|
||||
title = validateTitle(title, url)
|
||||
title = validateTitle(title, "")
|
||||
excerpt = normalizeSpace(excerpt)
|
||||
|
||||
// Create bookmark item
|
||||
|
|
Loading…
Add table
Reference in a new issue