diff options
author | Christopher Lenz <cmlenz@apache.org> | 2008-05-23 19:27:52 +0000 |
---|---|---|
committer | Christopher Lenz <cmlenz@apache.org> | 2008-05-23 19:27:52 +0000 |
commit | 59a89fd650f4c419c5b2a6ea50ad6b1610fa8a10 (patch) | |
tree | b9e3a5c07a185ace9930d305b205c50117652829 /src/mochiweb/mochiweb_html.erl | |
parent | b5c7b8bcfff3e361507b8ddb64edc94f90c13514 (diff) |
Patch MochiWeb for compatibility with R11B. This patch has been rejected upstream, but it's simple enough to just apply here.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659636 13f79535-47bb-0310-9956-ffa450edef68
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 0ac4826e..39ce51e6 100644 --- a/src/mochiweb/mochiweb_html.erl +++ b/src/mochiweb/mochiweb_html.erl @@ -328,7 +328,7 @@ tokens(B, S=#decoder{offset=O}, Acc) -> end. parse_flag({start_tag, B, _, false}) -> - case string:to_lower(binary_to_list(B)) of + case mochiweb_util:to_lower(binary_to_list(B)) of "script" -> script; "textarea" -> @@ -521,7 +521,7 @@ norm({Tag, Attrs}) -> norm(Tag) when is_binary(Tag) -> Tag; norm(Tag) -> - list_to_binary(string:to_lower(Tag)). + list_to_binary(mochiweb_util:to_lower(Tag)). test_destack() -> {<<"a">>, [], []} = |