Commits

Toby Inkster committed cd5557d

oops; fix <title>

Comments (0)

Files changed (3)

 <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">
 	<head>
-		<title>1</title>
+		<title>RDF Syntax Highlighting Examples</title>
 		<meta charset="utf-8" />
 	</head>
 	<body class="pod">
 		<span id="___top"></span>
+		<h1><span id="NAME">NAME</span></h1>
+		<p>RDF Syntax Highlighting Examples</p>
 		<h1><span id="EXAMPLES">EXAMPLES</span></h1>
 		<p>Here is some Turtle for syntax highlighting...</p>
 		<!-- for highlighter language=Turtle -->
 
 __END__
 
+=head1 NAME
+
+RDF Syntax Highlighting Examples
+
 =head1 EXAMPLES
 
 Here is some Turtle for syntax highlighting...

lib/TOBYINK/Pod/HTML.pm

 	package TOBYINK::Pod::HTML::Helper;
 	
 	our $AUTHORITY = 'cpan:TOBYINK';
-	our $VERSION   = '0.002';
+	our $VERSION   = '0.003';
 	
 	use parent "Pod::Simple::HTML";
 	
 			? (@r    = $self->SUPER::_get_titled_section(@_))
 			: ($r[0] = $self->SUPER::_get_titled_section(@_));
 		delete $self->{_in_get_titled_section};
-		wantarray ? @r : $_[0];
+		wantarray ? @r : $r[0];
 	}
 	
 	sub get_token
 	package TOBYINK::Pod::HTML;
 	
 	our $AUTHORITY = 'cpan:TOBYINK';
-	our $VERSION   = '0.002';
+	our $VERSION   = '0.003';
 	
 	use Moo;
 	use Carp;