diff --git a/build/md2json.py b/build/md2json.py index 86414e3f..86bd5e81 100755 --- a/build/md2json.py +++ b/build/md2json.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 -import sys import json +import sys def markdown_to_json(filename, anchor): diff --git a/build/validate_format.py b/build/validate_format.py index b7866858..7b3df231 100755 --- a/build/validate_format.py +++ b/build/validate_format.py @@ -89,7 +89,7 @@ def check_format(filename): # START Link # url should be wrapped in '[Go!]()' Markdown syntax link = segments[index_link] - if not link.startswith('[Go!](') or not link.endswith(')'): + if not link.startswith('[Go!](http') or not link.endswith(')'): add_error(line_num, 'link format should be "[Go!](LINK)"') # END Link # END Check Entries