diff --git a/api.go b/api.go index 77be7cd..e953d57 100644 --- a/api.go +++ b/api.go @@ -82,7 +82,7 @@ func (api *Api) GetNovelByID(novelID NovelID) (*Novel, error) { } 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", "") associatedNamesHtml, err := doc.Find("#editassociated").Html()