Added a couple more blocks that should be removed from HTML by the parser before indexing. Also added more unit tests to cover existing behaviour as well as this new behaviour.
To test, try using Smart Search to index an article containing <noscript> and <head> blocks and make sure that any text between the start and end tags is not searchable. You should set your editor to "none" because the editor might remove those tags anyway.
@zero-24 Ideally, if you can test as described above then that should be fine. We'll have two successful tests and the PR can be merged. There is no need to test the tests and Travis has done that for us (although code review is always welcome).
@chrisdavenport is any testing required? Or are we fine as the Travis (unit tests) pass?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5448.