Skip to content

Handle spaces in parameter style declarations #333

Open
@imagejan

Description

@imagejan

Currently, these two parameter declarations behave differently:

#@ File[] (style="files,extensions:xls/xlsx") files

and

#@ File[] (style="files, extensions:xls/xlsx") files

The latter ignores the file extension filter because after splitting, the style string has a leading space.

Let's fix this by changing style.split(",") to style.trim().split("\\s*,\\s*") in all places where it is relevant:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions