Skip to content

Commit e675df1

Browse files
committed
Set table title to original name
1 parent dbe14ca commit e675df1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Presentation/Markdown.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ public function getContents()
1717
$contents = $this->contents;
1818
$output = [];
1919
foreach ($contents as $table => $properties) {
20-
$table = preg_replace('/[^A-Za-z0-9]/', ' ', $table);
21-
$output[] = '### '.Str::title($table).PHP_EOL.PHP_EOL;
20+
$output[] = '### '.$table.PHP_EOL.PHP_EOL;
2221
$output[] = '| Column | Type | Length | Default | Nullable | Comment |'.PHP_EOL;
2322
$output[] = '|--------|------|--------|---------|----------|---------|'.PHP_EOL;
2423
foreach ($properties as $key => $value) {

0 commit comments

Comments
 (0)