examples: Let the browser handle README.txt word wrapping.

Now it's just inserts BR tags (not P tags atm) to separate paragraphs.
This commit is contained in:
Ryan C. Gordon 2024-12-06 00:13:30 -05:00
parent 90efb63e52
commit b79e3ac830
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -172,7 +172,11 @@ sub handle_example_dir {
chomp;
s/\A\s+//;
s/\s+\Z//;
$description .= "$_<br/>";
if ($_ eq '') {
$description .= "\n<br/>\n<br/>\n";
} else {
$description .= "$_ ";
}
}
close($readmetxth);
}