From a09bd744836390e9a7c207446362d04b4e8625bc Mon Sep 17 00:00:00 2001 From: Allison Randal Date: Mon, 21 Nov 2005 22:21:29 +0000 Subject: [PATCH] r1522@lilal: allison | 2005-11-21 13:51:17 -0800 Russ Allbery's doc patch for the "preserve whitespace" feature. --- lib/Pod/Simple/Subclassing.pod | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/Pod/Simple/Subclassing.pod b/lib/Pod/Simple/Subclassing.pod index ebad5270..d4ee6943 100644 --- a/lib/Pod/Simple/Subclassing.pod +++ b/lib/Pod/Simple/Subclassing.pod @@ -839,6 +839,14 @@ true for an HTML formatter class should omit the If you want to set this to true, you should probably also set C or at least C to true. +=item C<< $parser->preserve_whitespace( I ) >> + +If you set this attribute to a true value, the parser will try to +preserve whitespace in the output. This means that such formatting +conventions as two spaces after periods will be preserved by the parser. +This is primarily useful for output formats that treat whitespace as +significant (such as text or *roff, but not HTML). + =back