Skip to content

Commit

Permalink
Merge pull request galaxyproject#17364 from bernt-matthias/xsd-doc-qu…
Browse files Browse the repository at this point in the history
…ote-pipe

XSD schema doc building: quote pipe characters in attribute tables
  • Loading branch information
mvdbeek authored Jan 27, 2024
2 parents c58a08d + 7530fb4 commit 87d42a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/parse_gx_xsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def _build_attributes_table(tag, attributes, hide_attributes=False, attribute_na

use = attribute.attrib.get("use", "optional") == "required"
details = details.replace("\n", " ").strip()
details = details.replace("|", "\\|").strip()
best_practices = _get_bp_link(annotation_el)
if best_practices:
details += (
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/tool_util/xsd/galaxy.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5267,7 +5267,7 @@ If ``true``, this output will sniffed and its format determined automatically by
<xs:attribute name="default_identifier_source" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Sets the source of element identifier to the specified input.
This only applies to collections that are mapped over a non-collection input and that have equivalent structures. If this references input elements in conditionals, this value should be qualified (e.g. ``cond\|input`` instead of ``input`` if ``input`` is in a conditional with ``name="cond"``).</xs:documentation>
This only applies to collections that are mapped over a non-collection input and that have equivalent structures. If this references input elements in conditionals, this value should be qualified (e.g. ``cond|input`` instead of ``input`` if ``input`` is in a conditional with ``name="cond"``).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="metadata_source" type="xs:string">
Expand Down

0 comments on commit 87d42a1

Please sign in to comment.