Could you check why this requires to use "\n" (single backslash for the line feed):
while this requires double backslash for the line feed:
(the only thing that changed is that in the later case i have removed the inner component)
The same issue observed intermittently for different types of components and depending on some other strange things as whether those contain links within the name or not, whether those contain inner elements or not, etc.
The problem is that there is no consistent rule on whether one must use "\n" or "\\n" since plantuml obviously behaves "unpredictably" differently. For instance, the example 1 above fails if you use "\\n": http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuShBJqbLK0fo3es9oQjHy4nBJ4vLg548gIm0KIvGsZU_24X1L0G1-SdvUIL5-Jb05X119O16A3YLbfJavnK31M58II6nMA4ekLIXcai13e3wSmloyrBpIXIK4i4g4b7bQxbWj4DgNWhGcG00
while example 2 works ok with "\\n" and vice versa.