#!/usr/bin/perl -w

# kupu_echo.cgi

# Simple CGI script that echoes back the content uploaded
# from the Kupu editor embedded in a HTML form

use CGI;

my $cgi = new CGI;

my $text = $cgi->param('kupu');

$text =~ s/\>/\>\n/g;

print qq[Content-type: text/html\n\n];

print $text;