Item10474: Foswiki::Func inline examples are not valid examples usable with copy/paste.
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Documentation,
FoswikiFunc
Branches:
for eg
--- a/core/lib/Foswiki/Func.pm
+++ b/core/lib/Foswiki/Func.pm
@@ -1915,7 +1915,7 @@ use Error qw( :try );
my( $meta, $text ) = Foswiki::Func::readTopic( $web, $topic );
$text =~ s/APPLE/ORANGE/g;
try {
- saveTopic( $web, $topic, $meta, $text );
+ Foswiki::Func::saveTopic( $web, $topic, $meta, $text );
} catch Foswiki::AccessControlException with {
my $e = shift;
# see documentation on Foswiki::AccessControlException
kinda pointlessly incorrect.
--
SvenDowideit - 12 Mar 2011
Any reason this can't be merged into 1.1 branch?
--
GeorgeClark - 11 Apr 2011