Did some debugging when working on issue https://www.drupal.org/node/2396983, and I realized that the drupal_render function does not create #markup from $elements['#attached']['drupalSettings'], so it returns an empty string.

Comments

star-szr’s picture

Issue tags: +Needs tests

Thanks for the report! Tagging for tests.

joelpittet’s picture

Status: Active » Closed (cannot reproduce)

This hasn't been worked on in a while and the issue summary is missing details to reproduce the steps. Closing due to inactivity. Please re-open if you have more to add.