We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0f874 commit d986dc8Copy full SHA for d986dc8
.github/workflows/publish.yml
@@ -47,15 +47,10 @@ jobs:
47
- name: Render for school
48
run: ./extras/scripts/school_ci.sh ${{ matrix.school }}
49
50
- # have had issues with nbgitpuller URLs being double-escaped, which causes an error when trying to open it
51
- - name: Confirm there isn't double-escaping
52
- run: |
53
- if grep -r "&" _build/html; then
54
- echo "Double-escaped URL"
55
- exit 1
56
- else
57
- echo "No double-escaping"
58
- fi
+ # https://github.com/jupyter-book/jupyter-book/issues/2271
+ # https://stackoverflow.com/a/1583282/358804
+ - name: Fix double-escaping
+ run: find _build/html -name '*.html' -print0 | xargs -0 sed -i 's/&/\&/g'
59
60
- name: Update commit
61
run: |
0 commit comments