Issue #2171269 by effulgentsia, Wim Leers, InternetDevels, snig: Handle block rendering's #attributes correctly (fixes in-place editing of custom blocks).