- last update
9 months ago Patch Failed to Apply - last update
9 months ago Patch Failed to Apply - last update
9 months ago Patch Failed to Apply - π¬π·Greece bserem
Patch #5 does work. #8 does not. Given how much of a difference this makes to imported content readability, I'll push this forward.
- πΊπΈUnited States HongPong Philadelphia
+ if (\Drupal::moduleHandler()->moduleExists('filter') && $this->configuration['filter_autop']) { + $text = _filter_autop($text); + }
The snag here is it would silently fail if filter module is not enabled. imo better if it would at least kick a notification. Or a better notice on the option like "Filter module must be enabled, or this step will be skipped silently." Some tweak of that nature. That's the only issue which jumps at me right now. Thanks so much for hashing this out to work cleanly!
+ '#description' => 'Converts line breaks into <p> and <br> in an intelligent fashion.',