Skip to content

Commit

Permalink
HTML: do not convert lang attribute value to lower
Browse files Browse the repository at this point in the history
Closes #579
  • Loading branch information
jmooring committed May 22, 2023
1 parent 05e9266 commit 769fa7d
Show file tree
Hide file tree
Showing 2 changed files with 766 additions and 765 deletions.
1 change: 1 addition & 0 deletions html/html_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func TestHTML(t *testing.T) {
{`a <span></span> b`, `a <span></span> b`}, // #427
{`<canvas><p>test</p></canvas>`, `<canvas><p>test</p></canvas>`}, // #440
{`<source type='video/mp4; codecs="av01.0.05M.08"'>`, `<source type='video/mp4;codecs="av01.0.05M.08"'>`}, // #545
{`<html lang="mn-Cyrl-MN">`, `<html lang=mn-Cyrl-MN>`}, // #579
}

m := minify.New()
Expand Down
Loading

0 comments on commit 769fa7d

Please sign in to comment.