From f8b595e6d15af83fd40dfc149c6a6509f1ab502c Mon Sep 17 00:00:00 2001 From: "Philippe Bruhat (BooK)" Date: Tue, 14 Jan 2020 22:29:47 +0100 Subject: [PATCH] Remove POD escapes in verbatim text --- lib/Text/Autoformat.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Text/Autoformat.pm b/lib/Text/Autoformat.pm index b883a0c..b6a7ed6 100644 --- a/lib/Text/Autoformat.pm +++ b/lib/Text/Autoformat.pm @@ -1009,14 +1009,14 @@ format lines such as: specify: - autoformat($text, { quoter =E qr{//} }) + autoformat($text, { quoter => qr{//} }) Instead of completely replacing the existing set of quoters, you can I them by specifying a pattern that includes the metasequence C<< >>, which is then replaced by the module's standard pattern for quoters. So, for example, to add C to the set of existing quoters: - autoformat($text, { quoter =E qr{//|} }) + autoformat($text, { quoter => qr{//|} }) Block quotations present a different challenge. A typical formatter