This commit is contained in:
Alex Yatskov 2016-08-05 21:08:07 -07:00
parent 16ccc2b586
commit 895222392a

View File

@ -325,7 +325,7 @@ func LoadKanjidic(reader io.Reader) ([]KanjidicCharacter, error) {
var characters []KanjidicCharacter
_, err := parseEntries(reader, false, func(decoder *xml.Decoder, element *xml.StartElement) error {
if element.Name.Local != "entry" {
if element.Name.Local != "character" {
return nil
}