fixed newline in novel description
This commit is contained in:
parent
3e17876ecf
commit
14c6c79839
2
api.go
2
api.go
@ -82,7 +82,7 @@ func (api *Api) GetNovelByID(novelID NovelID) (*Novel, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
title := doc.Find(".seriestitlenu").Text()
|
title := doc.Find(".seriestitlenu").Text()
|
||||||
description := doc.Find("#editdescription").Text()
|
description := strings.TrimSpace(doc.Find("#editdescription").Text())
|
||||||
cover := doc.Find(".wpb_wrapper img").AttrOr("src", "")
|
cover := doc.Find(".wpb_wrapper img").AttrOr("src", "")
|
||||||
|
|
||||||
associatedNamesHtml, err := doc.Find("#editassociated").Html()
|
associatedNamesHtml, err := doc.Find("#editassociated").Html()
|
||||||
|
Loading…
Reference in New Issue
Block a user