allow long relative links

This commit is contained in:
Mark Mansi 2018-05-23 12:38:46 -05:00 committed by Who? Me?!
parent 05e6718873
commit 57183e55b2

View file

@ -30,7 +30,7 @@ for file in "$@" ; do
(( inside_block = !$inside_block ))
continue
fi
if ! (( $inside_block )) && ! [[ "$line" =~ " | "|"-|-"|"://"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then
if ! (( $inside_block )) && ! [[ "$line" =~ " | "|"-|-"|"://"|"]:"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then
(( bad_lines++ ))
echo -e "\t$line_no : $line"
fi