From 678512dcabec2a54071ed63ed786c4c0c3f1d647 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 21 Aug 2009 11:54:24 +0000 Subject: 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 --- src/mochiweb/mochiweb_html.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mochiweb/mochiweb_html.erl') 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">>, [], []} = -- cgit v1.2.3