1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-25 09:30:46 +02:00

[ticket/16752] Add methods for exporting events to rst by script

PHPBB3-16752
This commit is contained in:
Marc Alexander
2021-04-08 20:14:18 +02:00
parent bcc75099ab
commit 1ecc2e042b
4 changed files with 251 additions and 15 deletions

View File

@@ -178,6 +178,7 @@ class rst_exporter
*/
private function get_column(string $type, string $content): string
{
$content = rtrim($content);
return ' ' . $content . str_repeat(' ' , $this->max_lengths[$type] - strlen($content) + 1) . '|';
}
}