From ee4105895ebffdc6185d20f4592031723a76fedc Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 12 Mar 2021 18:09:23 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- scripts/lint-doc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/lint-doc.sh') diff --git a/scripts/lint-doc.sh b/scripts/lint-doc.sh index c94faa8f6f4..4d0c1ba99d2 100755 --- a/scripts/lint-doc.sh +++ b/scripts/lint-doc.sh @@ -30,13 +30,13 @@ then ((ERRORCODE++)) fi -# Test for non-standard spaces (NBSP, NNBSP) in documentation. +# Test for non-standard spaces (NBSP, NNBSP, ZWSP) in documentation. echo '=> Checking for non-standard spaces...' echo -grep --extended-regexp --binary-file=without-match --recursive '[  ]' doc/ >/dev/null 2>&1 +grep --extended-regexp --binary-file=without-match --recursive '[  ​]' doc/ >/dev/null 2>&1 if [ $? -eq 0 ] then - echo '✖ ERROR: Non-standard spaces (NBSP, NNBSP) should not be used in documentation. + echo '✖ ERROR: Non-standard spaces (NBSP, NNBSP, ZWSP) should not be used in documentation. https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#spaces-between-words Replace with standard spaces:' >&2 # Find the spaces, then add color codes with sed to highlight each NBSP or NNBSP in the output. -- cgit v1.2.1