Commit b1df4623 authored by Kieron Taylor's avatar Kieron Taylor 😠
Browse files

Try to tolerate plural examples.

parent 536a92c9
......@@ -348,7 +348,7 @@ sub pod_method_parser {
$code = undef;
}
if (/Example\s+:(.*)/) { #starts code section at Example : in POD
$_ =~ s#(Example\s+:)(.*)#$1</pre>\@code$2#;
$_ =~ s#(Examples?\s+:)(.*)#$1</pre>\@code$2#;
$code = 1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment