From 7fb4f770800594ec81ff902f22cc816087c43d3d Mon Sep 17 00:00:00 2001 From: Dave Machado Date: Sat, 23 Dec 2017 19:23:32 -0500 Subject: [PATCH] Update formatting of markdown scripts --- build/md2json.py | 2 +- build/validate_format.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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