Skip to content

Commit

Permalink
1. converted files to Unix format.
Browse files Browse the repository at this point in the history
2. changed name of the isaspace function to ngx_is_space
3. fixed the "no space before a link" bug with a hacky solution,
basically don't eat space (' ') unless there are two spaces.
This means that not all space will be stripped out, but much of
it will be, and it won't break links
  • Loading branch information
vedang committed Feb 8, 2011
1 parent a63b959 commit dc9a96e
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 282 deletions.
6 changes: 3 additions & 3 deletions config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ngx_addon_name=ngx_http_no_newlines_module
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_no_newlines_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_no_newlines_module.c"
ngx_addon_name=ngx_http_no_newlines_module
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_no_newlines_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_no_newlines_module.c"
Loading

0 comments on commit dc9a96e

Please sign in to comment.