Remove single quote in sanitized title
This commit is contained in:
parent
859b660400
commit
96f16a33a1
2
run.php
2
run.php
@ -49,7 +49,7 @@ foreach ($titles as $title) {
|
||||
|
||||
$sanitized_title = $title;
|
||||
$sanitized_title = strtolower($sanitized_title);
|
||||
$sanitized_title = str_replace([' ', ','], ['-'], $sanitized_title);
|
||||
$sanitized_title = str_replace([' ', ',', '\''], ['-'], $sanitized_title);
|
||||
$sanitized_title .= '.gmi';
|
||||
|
||||
$output_path = $gemlog_output_path . '/' . $sanitized_title;
|
||||
|
Loading…
Reference in New Issue
Block a user