GNOME Bugzilla – Bug 347819
Searching on HTML files is flakey
Last modified: 2018-05-22 12:41:48 UTC
Basic search is flakey on HTML files. Don't really know what's happening, but I can guess. Putting here to remind myself and for the floods of dups that I'm sure will follow ;)
Bug #341797 has a patch that works around the problem. First: it adds all .html files in the directory to be searched. Second: Aparently, some html pages don't trigger startElement SAX function. I don't know why. I've worked around it in the patch by checking ing the Characters element whether we're in an html file and searching it anyway. Marking this as a dependant on bug #341797 as the patch there works around the problem (even if it doesn't fix it).
HTML is not necessarily valid XML, I wonder if that could be causing problems?
Patch from bug #341797 has been committed. Leaving this bug open until I can get to the root of the problem.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/yelp/issues/16.