I tried to do it with preg_replace, with no luck. However, I did go with a block element content template, and I am okay with it.
Hmmm… i thought they had patched that… seems it won’t work with content inside containers 2 levels deep.
Is fixing this in the GerenatePress theme a way to go, or is it a WordPress bug? Who are “they”? 😉