modified the search indexer to also select li and pre elements