mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
refactor(misc): fix a handful of TODO
This commit is contained in:
parent
06cbf1b3b3
commit
485baf9654
9 changed files with 18 additions and 27 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
// parse reads an OPML file and returns a SubcriptionList.
|
||||
func parse(data io.Reader) (subcriptionList, error) {
|
||||
opmlDocument := NewOPMLDocument()
|
||||
opmlDocument := &opmlDocument{}
|
||||
decoder := xml.NewDecoder(data)
|
||||
decoder.Entity = xml.HTMLEntity
|
||||
decoder.Strict = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue