The original bug was found in C4-PlantUML (ENABLE_ALL_PLANT_ELEMENTS is not working anymore).
I could reduce it to a "style" problem with %newline() (I assume it is basically the same issue as it was with skinparam and %newline()) .
It can be reproduced with following sample (the skinparam part can be removed, it shows only the different behavior)
@startuml
!function $nl()
' workaround
' !return %breakline()
!return %newline()
!endfunction
!function $elementTagSkinparams($element, $tagStereo, $fontColor)
!$elementSkin = "skinparam " + $element + "<<" + $tagStereo + ">> {" + %newline()
!if ($fontColor != "")
!$elementSkin = $elementSkin + " StereotypeFontColor " + $fontColor + %newline()
!$elementSkin = $elementSkin + " FontColor " + $fontColor + %newline()
!endif
!$elementSkin = $elementSkin + "}" + %newline()
!return $elementSkin
!endfunction
' label colors cannot be set via skinparam use style
!function $labelElementTagSkinparams($tagStereo, $bgColor)
!$tagSkin = $nl() + "<style>" + $nl()
' componentDiagram {
!$tagSkin = $tagSkin + " label {" + $nl()
!$tagSkin = $tagSkin + " ." + $tagStereo + " {" + $nl()
!$tagSkin = $tagSkin + " StereotypeFontColor " + $bgColor + $nl()
!$tagSkin = $tagSkin + " Fontcolor " + $bgColor + $nl()
!$tagSkin = $tagSkin + " }" + $nl()
!$tagSkin = $tagSkin + " }" + $nl()
' }
!$tagSkin = $tagSkin + "</style>" + $nl()
!return $tagSkin
!endfunction
!unquoted procedure $defineSkinparams($tagStereo, $bgColor, $fontColor)
' skinparam works based on updated server implementation
!$tagSkin = $elementTagSkinparams("rectangle", $tagStereo, $fontColor)
!$tagSkin = $tagSkin + $elementTagSkinparams("package", $tagStereo, $fontColor)
' style does not work, %newline() is not supported anymore
!$tagSkin = $tagSkin + $labelElementTagSkinparams($tagStereo, $bgColor)
$tagSkin
!endprocedure
$defineSkinparams("red", white, red)
$defineSkinparams("blueboundary", white, blue)
$defineSkinparams("bluelabel", blue, white)
[C]
rectangle r <<red>> {
}
label "LABEL" as l <<bluelabel>>
package p <<blueboundary>> {
}
@enduml
If the workaround is activated and $nl() returns a %breakline() then it is working
!function $nl()
' with workaround is working
!return %breakline()
!endfunction

BR
Helmut
PS.: @Arnaud: I will try to fix the problem in C4-PlantUML too (that newline works independent of your fix) with a version specific helper function like $nl() that you can decide if you want to add a style specific fix too - or not)