Hi Jasper,

You'll find that sanitizers are what you want.
https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax?highlight=%28sanitizer%29#A.3Csanitizer.3E_tag_set

Here's an example of a sanitizer permitting the pound character that I use:
<param name="feature_color" type="color" label="Default feature color" value="#ff00ff">
  <sanitizer>
    <valid initial="string.letters,string.digits">
      <add value="#" />
    </valid>
  </sanitizer>
</param>

Ciao,
Eric

On 03/10/2016 04:13 PM, Jasper Koehorst wrote:
I am creating a tool which allows you to query RDF files. However when performing a \n in the query it is replaced by Xn. 
Other special characters such as > are replaced by an __gt__ . 
How can I either allow galaxy to accept \n entries or that the backslash is replaced by something like __bs__ ? As Xn is not replaceable.


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

--
Eric Rasche
Programmer II

Center for Phage Technology
Rm 312A, BioBio
Texas A&M University
College Station, TX 77843
404-692-2048
esr@tamu.edu