From b79e3ac83097bb4e6f41492b40a4c6ca78f51a18 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 6 Dec 2024 00:13:30 -0500 Subject: [PATCH] examples: Let the browser handle README.txt word wrapping. Now it's just inserts BR tags (not P tags atm) to separate paragraphs. --- build-scripts/build-web-examples.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-scripts/build-web-examples.pl b/build-scripts/build-web-examples.pl index 51c23c6064..e1b7ca394b 100755 --- a/build-scripts/build-web-examples.pl +++ b/build-scripts/build-web-examples.pl @@ -172,7 +172,11 @@ sub handle_example_dir { chomp; s/\A\s+//; s/\s+\Z//; - $description .= "$_
"; + if ($_ eq '') { + $description .= "\n
\n
\n"; + } else { + $description .= "$_ "; + } } close($readmetxth); }