diff options
Diffstat (limited to 'src/mochiweb/mochiweb_html.erl')
-rw-r--r-- | src/mochiweb/mochiweb_html.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mochiweb/mochiweb_html.erl b/src/mochiweb/mochiweb_html.erl index 05ea6382..0e030c13 100644 --- a/src/mochiweb/mochiweb_html.erl +++ b/src/mochiweb/mochiweb_html.erl @@ -330,7 +330,7 @@ tokens(B, S=#decoder{offset=O}, Acc) -> end. parse_flag({start_tag, B, _, false}) -> - case mochiweb_util:to_lower(binary_to_list(B)) of + case string:to_lower(binary_to_list(B)) of "script" -> script; "textarea" -> @@ -551,7 +551,7 @@ norm({Tag, Attrs}) -> norm(Tag) when is_binary(Tag) -> Tag; norm(Tag) -> - list_to_binary(mochiweb_util:to_lower(Tag)). + list_to_binary(string:to_lower(Tag)). test_destack() -> {<<"a">>, [], []} = |