mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 17:28:28 +00:00
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:
parent
90efb63e52
commit
b79e3ac830
1 changed files with 5 additions and 1 deletions
|
@ -172,7 +172,11 @@ sub handle_example_dir {
|
||||||
chomp;
|
chomp;
|
||||||
s/\A\s+//;
|
s/\A\s+//;
|
||||||
s/\s+\Z//;
|
s/\s+\Z//;
|
||||||
$description .= "$_<br/>";
|
if ($_ eq '') {
|
||||||
|
$description .= "\n<br/>\n<br/>\n";
|
||||||
|
} else {
|
||||||
|
$description .= "$_ ";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
close($readmetxth);
|
close($readmetxth);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue