mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
fix(admin-ui): remove button labels on smaller screens in podcast view
- update components renderer regex to include special characters - fix itunes_explicit mapping during import
This commit is contained in:
parent
16a3fdb56e
commit
9cc5ffd143
5 changed files with 20 additions and 6 deletions
|
|
@ -96,7 +96,7 @@ class ComponentRenderer
|
|||
|
||||
private function renderPairedTags(string $output): string
|
||||
{
|
||||
$pattern = '/<\s*(?<name>[A-Z][A-Za-z0-9\.]*?)(?<attributes>[\s\S\=\'\"]*)>(?<slot>.*)<\/\s*\1\s*>/uUsm';
|
||||
$pattern = '/<\s*(?<name>[A-Z][A-Za-z0-9\.]*?)(?<attributes>(\s*[\w\-]+\s*=\s*(\'[^\']*\'|\"[^\"]*\"))+\s*)>(?<slot>.*)<\/\s*\1\s*>/uUsm';
|
||||
ini_set('pcre.backtrack_limit', '-1');
|
||||
/*
|
||||
$matches[0] = full tags matched and all of its content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue