Skip to content

Commit

Permalink
Merge pull request #3284 from vespa-engine/kkraune/linkcheck
Browse files Browse the repository at this point in the history
Remove <pre> for better linkcheck
  • Loading branch information
bratseth authored Jul 30, 2024
2 parents 79cb6a8 + 09cbe0d commit f56edef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screwdriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
xargs grep -l "Click here if you are not redirected." | xargs rm
#
# htmlproofer does not check links inside <code>-elements
find _site -name \*.html | xargs sed -i.orig 's/<code[^>]*>//g; s/<\/code>//g;'
find _site -name \*.html | xargs sed -i.orig 's/<code[^>]*>//g; s/<\/code>//g; s/<pre[^>]*>//g; s/<\/pre>//g;'
find _site -name \*.orig | xargs rm
#
bundle exec htmlproofer \
Expand Down

0 comments on commit f56edef

Please sign in to comment.