feat(package.json): add unified development command to run 11ty + php concurrently
This commit is contained in:
parent
afa7144142
commit
b6dab4831f
5 changed files with 354 additions and 37 deletions
|
@ -68,4 +68,11 @@
|
|||
return $string . 's' . ($trailing ? $trailing : '');
|
||||
}
|
||||
|
||||
function cleanMeta($value) {
|
||||
$value = trim($value ?? '');
|
||||
$value = str_replace(["\r", "\n"], ' ', $value);
|
||||
$value = preg_replace('/\s+/', ' ', $value);
|
||||
return htmlspecialchars($value, ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue