In certain cases it's beneficial to adjust this behavior by adding or removing tags from this list. What we can do is add two optional plugin configuration parameters:
include_tags (ARRAY) — a list of tags which should be considered for content extraction in addition to the predefined list.
exclude_tags (ARRAY) — a list of tags which should be excluded from the list of such tags (this will allow to remove tags from the predefined list as well).
Right now, there's a hardcoded list of tags from which content is extracted.
In certain cases it's beneficial to adjust this behavior by adding or removing tags from this list. What we can do is add two optional plugin configuration parameters:
include_tags (ARRAY)
— a list of tags which should be considered for content extraction in addition to the predefined list.exclude_tags (ARRAY)
— a list of tags which should be excluded from the list of such tags (this will allow to remove tags from the predefined list as well).