Skip to content

Commit

Permalink
Remove tabs in wiki format
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa authored Apr 27, 2024
1 parent 43e344f commit 1c5e6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hed/schema/schema_io/schema2wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _write_tag_entry(self, tag_entry, parent_node=None, level=0):
self.current_tag_string += f"'''{tag}'''"
else:
short_tag = tag.split("/")[-1]
tab_char = '\t'
tab_char = '' # Github mangles these, so remove spacing for now.
# takes value tags should appear after the nowiki tag.
if short_tag.endswith("#"):
self.current_tag_string += f"{tab_char * level}{'*' * level} "
Expand Down

0 comments on commit 1c5e6f7

Please sign in to comment.