summaryrefslogtreecommitdiff
path: root/src/mochiweb/mochiweb_html.erl
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-08-21 11:54:24 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-08-21 11:54:24 +0000
commit678512dcabec2a54071ed63ed786c4c0c3f1d647 (patch)
tree78ddd07d4f504e11b10b91ad18ca454ce5e5d034 /src/mochiweb/mochiweb_html.erl
parentc41f80bcce84f06f9d46eecb7d012e1f0cd12dcf (diff)
Back out Mochiweb patch from r659636 to support older Erlang versions, as those are no longer supported by CouchDB anyway.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@806513 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/mochiweb/mochiweb_html.erl')
-rw-r--r--src/mochiweb/mochiweb_html.erl4
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">>, [], []} =