Skip to content

Commit 4c30622

Browse files
authored
Merge pull request freeCodeCamp#1878 from ClasherKasten/minor/erlang
Update Erlang (25.1.2)
2 parents af8d62a + 50703ec commit 4c30622

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/file-scrapers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file.
6565

6666
```ah
6767
mkdir --parent docs/erlang\~$VERSION/; \
68-
curl http://erlang.org/download/otp_doc_html_$RELEASE.tar.gz | \
68+
curl -L https://github.com/erlang/otp/releases/download/OTP-$RELEASE/otp_doc_html_$RELEASE.tar.gz | \
6969
bsdtar --extract --file - --directory=docs/erlang\~$VERSION/
7070
```
7171

lib/docs/filters/erlang/clean_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Erlang
33
class CleanHtmlFilter < Filter
44
def call
5-
@doc = at_css('#content')
5+
@doc = at_css('#content .innertube', '#content')
66

77
# frontpage
88

lib/docs/scrapers/erlang.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Erlang < FileScraper
4141
HTML
4242

4343
version '25' do
44-
self.release = '25.0'
44+
self.release = '25.1'
4545
end
4646

4747
version '24' do

0 commit comments

Comments
 (0)