From f17c54a6e8c837c7de221e717830c1e9df9ce74f Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Apr 2021 00:00:45 +0000 Subject: Clarify documentation --- README | 4 ++-- lib/Apache/Inject.pm | 4 ++-- t/SMOKE | 2 +- t/basic.t | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index 0ef8ea4..5e55314 100644 --- a/README +++ b/README @@ -31,8 +31,8 @@ DESCRIPTION server-side includes. It is designed for injecting headers and footers that belong in the element, such as headings, menu bars and copyright notices. While you can technically include elements in - your header file, they will be placed in the body of the HTML page and - not in the head. + your header file, Apache::Inject will place them in the body of the HTML + page and not in the head. The main benefit over server-side includes is that the header and footer is specified in the server configuration instead of the HTML files diff --git a/lib/Apache/Inject.pm b/lib/Apache/Inject.pm index 38aae8e..8de0249 100644 --- a/lib/Apache/Inject.pm +++ b/lib/Apache/Inject.pm @@ -82,8 +82,8 @@ The Inject directive serves a much more specific purpose than server-side includes. It is designed for injecting headers and footers that belong in the EbodyE element, such as headings, menu bars and copyright notices. While you can technically include -EheadE elements in your header file, they will be placed -in the body of the HTML page and not in the head. +EheadE elements in your header file, Apache::Inject will +place them in the body of the HTML page and not in the head. The main benefit over server-side includes is that the header and footer is specified in the server configuration instead of the HTML diff --git a/t/SMOKE b/t/SMOKE index 4ac4080..ede8397 100755 --- a/t/SMOKE +++ b/t/SMOKE @@ -1,6 +1,6 @@ #!/usr/local/bin/perl # WARNING: this file is generated, do not edit -# generated on Sat Apr 24 21:00:04 2021 +# generated on Sun Apr 25 00:00:31 2021 # 01: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestConfig.pm:1003 # 02: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestConfig.pm:1095 # 03: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestSmoke.pm:775 diff --git a/t/basic.t b/t/basic.t index 2364bf1..936f6c4 100644 --- a/t/basic.t +++ b/t/basic.t @@ -5,7 +5,7 @@ use Apache::Test; use Apache::TestUtil; use Apache::TestRequest qw/GET_BODY/; -plan tests => 7; +BEGIN { plan tests => 7; } my $head; # expected page header my $foot; # expected page footer -- cgit v1.2.3