Yu,
You can use the sanitizer tag set for this.
https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Csanitizer.3E_tag_set
E.g.
https://github.com/galaxyproject/tools-iuc/pull/106/files#diff-db276c72d5a0b8ccc28dba5957448192R44
I use the sanitizer block to allow [, ], '
Cheers,
Eric
20
Dear galaxy developers,
Galaxy seems to substitute special characters when it passes arguments to its
tools (e.g. the content of input fields of type 'text'). In general, this is
useful. However, '%' is substituted by 'X', i.e. the substitution is not
invertible which can be a real show stoppe