Remove commas in titles
This commit is contained in:
parent
1b4166d83a
commit
b1f1a80500
2
run.php
2
run.php
@ -36,7 +36,7 @@ foreach ($titles as $title) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sanitize_title = strtolower($title);
|
$sanitize_title = strtolower($title);
|
||||||
$sanitize_title = str_replace(' ', '-', $sanitize_title);
|
$sanitize_title = str_replace([' ', ','], ['-'], $sanitize_title);
|
||||||
$sanitize_title .= '.gmi';
|
$sanitize_title .= '.gmi';
|
||||||
|
|
||||||
$output_path = $gemlog_output_path . '/' . $sanitize_title;
|
$output_path = $gemlog_output_path . '/' . $sanitize_title;
|
||||||
|
Loading…
Reference in New Issue
Block a user