Skip to content

Commit

Permalink
Merge pull request #3279 from vespa-engine/kkraune/code
Browse files Browse the repository at this point in the history
Support <code> elements with attributes
  • Loading branch information
kkraune authored Jul 30, 2024
2 parents 93d1215 + 4ed7031 commit a18a7e3
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;'
find _site -name \*.orig | xargs rm
#
bundle exec htmlproofer \
Expand Down

0 comments on commit a18a7e3

Please sign in to comment.