Commit 069cb40 1 parent 2c68b0f commit 069cb40 Copy full SHA for 069cb40
File tree 3 files changed +17
-12
lines changed
3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
- runs-on : ubuntu-20 .04
12
- name : Elixir ${{ matrix.elixir }} / OTP ${{ matrix.otp }} with ${{ matrix.parser }}
11
+ runs-on : ubuntu-22 .04
12
+ name : Elixir ${{ matrix.elixir }} / OTP ${{ matrix.otp }} / ${{ matrix.parser }}
13
13
14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
- elixir : ["1.17 ", "1.14"]
18
- otp : ["27.1 ", "23.3 "]
17
+ elixir : ["1.18 ", "1.14"]
18
+ otp : ["27.2 ", "24.2 "]
19
19
parser : [fast_html, html5ever, mochiweb]
20
20
exclude :
21
- - elixir : " 1.17 "
22
- otp : " 23.3 "
21
+ - elixir : " 1.18 "
22
+ otp : " 24.2 "
23
23
24
24
- elixir : " 1.14"
25
- otp : " 27.1 "
25
+ otp : " 27.2 "
26
26
27
27
steps :
28
28
- uses : actions/checkout@v4
29
29
30
30
- uses : erlef/setup-beam@v1
31
31
with :
32
- otp-version : ${{matrix.otp}}
33
- elixir-version : ${{matrix.elixir}}
32
+ otp-version : ${{ matrix.otp }}
33
+ elixir-version : ${{ matrix.elixir }}
34
34
35
35
- name : Check format
36
36
run : mix format --check-formatted
37
- if : matrix.elixir == '1.17 '
37
+ if : matrix.elixir == '1.18 '
38
38
39
39
- name : Install dependencies
40
40
run : mix deps.get
Original file line number Diff line number Diff line change @@ -2673,7 +2673,10 @@ defmodule Floki.HTML.Tokenizer do
2673
2673
character_reference_end ( html , % { state | buffer: buffer } )
2674
2674
end
2675
2675
2676
- defp character_buffer ( % State { charref_state: % CharrefState { candidate: candidate } , buffer: buffer } ) do
2676
+ defp character_buffer ( % State {
2677
+ charref_state: % CharrefState { candidate: candidate } ,
2678
+ buffer: buffer
2679
+ } ) do
2677
2680
if candidate do
2678
2681
Floki.Entities.Codepoints . get ( candidate )
2679
2682
else
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ defmodule Floki.HTMLParser.FastHtml do
9
9
10
10
@ impl true
11
11
def parse_fragment ( html , args ) do
12
- execute_with_module ( fn module -> module . decode_fragment ( IO . chardata_to_string ( html ) , args ) end )
12
+ execute_with_module ( fn module ->
13
+ module . decode_fragment ( IO . chardata_to_string ( html ) , args )
14
+ end )
13
15
end
14
16
15
17
@ impl true
You can’t perform that action at this time.
0 commit comments