Optional removal of spaces between HTML tags?

Created on 9 July 2025, 27 days ago

I use the module to store HTML text as Twig partial and insert it into blocks. Very handy! However, the text breaks are evaluated in the editor and I get additional
etc. Perhaps you could offer an option to prevent this. Unfortunately, I don't know what the most practical technical solution for this would be. Optionally, call

preg_replace(“/>\s+</”, “><”, $html);

before delivery? Just an idea.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany sachbearbeiter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024