Problem/Motivation
Great timing, but I was debugging some filter formats and needed this module, so thanks! :D
One issue I had was assuming the name of the filter format:
protected function getStrippedItems(string $value, string $format_id) : array {
/** @var \Drupal\filter\FilterFormatInterface $filter */
$filter = $this->entityTypeManager->getStorage('filter_format')->load('basic_html');
My fallback filter was plain_text which doesn't have the "Limited allowed tags" filter enabled, so essentially the whole report was not run.
Steps to reproduce
Proposed resolution
Fix is easy, looks like it was basically a typo.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
sam152 commentedComment #4
larowlancheers, this will go out as 1.0.0-rc4
Comment #5
larowlanhttps://www.drupal.org/project/filter_format_audit/releases/1.0.0-rc4
Comment #6
sam152 commentedNice, thanks.