comparison _doc/make.pl @ 163:6ce1f052b90a

temp commit
author wizard
date Tue, 15 Mar 2011 02:32:42 +0300
parents 84aa8c395fce
children 47dac58691ee
comparison
equal deleted inserted replaced
162:39c8788eded5 163:6ce1f052b90a
210 210
211 211
212 my ($hin,$hout); 212 my ($hin,$hout);
213 local $/ = undef; 213 local $/ = undef;
214 my $pid = eval { open2( 214 my $pid = eval { open2(
215 $hin, $hout, highlight => ( 215 $hin, $hout, 'source-highlight' => (
216 '--syntax' => $format, 216 '--src-lang' => $format,
217 '--html',
218 '--fragment',
219 '--inline-css',
220 '--enclose-pre'
221 ) 217 )
222 ) } or return "<pre>".escape_html($text)."</pre>\n"; 218 ) } or return "<pre>".escape_html($text)."</pre>\n";
223 219
224 binmode $hout, ':encoding(utf8)'; 220 binmode $hout, ':encoding(utf8)';
225 binmode $hin, ':encoding(utf8)'; 221 binmode $hin, ':encoding(utf8)';