File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed
Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 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 }}
1313
1414 strategy :
1515 fail-fast : false
1616 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 "]
1919 parser : [fast_html, html5ever, mochiweb]
2020 exclude :
21- - elixir : " 1.17 "
22- otp : " 23.3 "
21+ - elixir : " 1.18 "
22+ otp : " 24.2 "
2323
2424 - elixir : " 1.14"
25- otp : " 27.1 "
25+ otp : " 27.2 "
2626
2727 steps :
2828 - uses : actions/checkout@v4
2929
3030 - uses : erlef/setup-beam@v1
3131 with :
32- otp-version : ${{matrix.otp}}
33- elixir-version : ${{matrix.elixir}}
32+ otp-version : ${{ matrix.otp }}
33+ elixir-version : ${{ matrix.elixir }}
3434
3535 - name : Check format
3636 run : mix format --check-formatted
37- if : matrix.elixir == '1.17 '
37+ if : matrix.elixir == '1.18 '
3838
3939 - name : Install dependencies
4040 run : mix deps.get
Original file line number Diff line number Diff line change @@ -2673,7 +2673,10 @@ defmodule Floki.HTML.Tokenizer do
26732673 character_reference_end ( html , % { state | buffer: buffer } )
26742674 end
26752675
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
26772680 if candidate do
26782681 Floki.Entities.Codepoints . get ( candidate )
26792682 else
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ defmodule Floki.HTMLParser.FastHtml do
99
1010 @ impl true
1111 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 )
1315 end
1416
1517 @ impl true
You can’t perform that action at this time.
0 commit comments