Skip to content

space before skin param stereotype causes all skinparams to be ignored #1932

@VladimirAlexiev

Description

@VladimirAlexiev

Describe the bug

I'll just cite what I added to the documentation of Skinned Stereotypes:

Important: unlike class stereotypes, there must be no space between the skin parameter and the following stereotype. Any of the spaces shown as _ below will cause all skinparams to be ignored, see discord discussion:

  • BackgroundColor_<<Foo>>
  • skinparam stereotypeCBackgroundColor_<<Foo>> DimGray

To Reproduce

This diagram looks as expected:
image

If you add a space between skinparam ClassBackgroundColor and <<Resource>> as in here, all skin params are lost:
image

@The-Lum who is the amazing Living Memory of plantuml helped me to figure this out, and doesn't think it's a bug.

But I think it's a bug: space is allowed in class foo <<stereotype>>: so why would it be forbidden in skin params?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions