Repository 'compose_text_param'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/compose_text_param

Changeset 1:e188c9826e0f (2020-07-21)
Previous changeset 0:feb3acba1e0a (2019-06-07)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/compose_text_param commit a55575026fb23416a2023feb95f4a12259301da6"
modified:
compose_text_param.xml
b
diff -r feb3acba1e0a -r e188c9826e0f compose_text_param.xml
--- a/compose_text_param.xml Fri Jun 07 09:22:41 2019 -0400
+++ b/compose_text_param.xml Tue Jul 21 03:28:16 2020 -0400
[
@@ -1,4 +1,4 @@
-<tool name="Compose text parameter value" id="compose_text_param" version="0.1.0" profile="19.05" tool_type="expression">
+<tool name="Compose text parameter value" id="compose_text_param" version="0.1.1" profile="19.05" tool_type="expression">
     <description>from parameters</description>
     <expression type="ecma5.1">
 {
@@ -18,7 +18,9 @@
                     <option value="float">Float Parameter</option>
                 </param>
                 <when value="text">
-                    <param name="component_value" type="text" label="Enter text that should be part of the computed value"/>
+                    <param name="component_value" type="text" label="Enter text that should be part of the computed value">
+                        <sanitizer sanitize="false"/>
+                    </param>
                 </when>
                  <when value="integer">
                     <param name="component_value" value="" type="integer" label="Enter integer that should be part of the computed value"/>
@@ -71,12 +73,32 @@
                 </conditional>
             </repeat>
             <output name="output">
-                <assert_contents> 
+                <assert_contents>
                     <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> -->
                     <has_line line="&quot;Text: value, Integer: 1, Float: 1.5&quot;"/>
                 </assert_contents>
             </output>
         </test>
+        <test>
+            <repeat name="components">
+                <conditional name="param_type">
+                    <param name="select_param_type" value="text"/>
+                    <param name="component_value" value="Text: "/>
+                </conditional>
+            </repeat>
+            <repeat name="components">
+                <conditional name="param_type">
+                    <param name="select_param_type" value="text"/>
+                    <param name="component_value" value="value with; &gt; &amp; and !"/>
+                </conditional>
+            </repeat>
+            <output name="output">
+                <assert_contents>
+                    <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> -->
+                    <has_line line="&quot;Text: value with; &gt; &amp; and !&quot;"/>
+                </assert_contents>
+            </output>
+        </test>
     </tests>
     <help><![CDATA[
 This tool concatenates each parameter value to a string.