From: Daniel Gruno Date: Thu, 24 May 2012 07:03:56 +0000 (+0000) Subject: Add newlines to example output X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9790514e289166746bb5255c1df4d4af4813cea2;p=thirdparty%2Fapache%2Fhttpd.git Add newlines to example output git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1342157 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 043c99a606c..b2d78c6ca32 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -104,11 +104,11 @@ function handle(r) if r.method == 'GET' then for k, v in pairs( r:parseargs() ) do - r:puts( string.format("%s: %s", k, v) ) + r:puts( string.format("%s: %s\n", k, v) ) end elseif r.method == 'POST' then for k, v in pairs( r:parsebody() ) do - r:puts( string.format("%s: %s", k, v) ) + r:puts( string.format("%s: %s\n", k, v) ) end else r:puts("unknown HTTP method " .. r.method)