Some empty lines
This commit is contained in:
parent
98bc5216ef
commit
703ba1439b
|
@ -187,26 +187,31 @@ class BBCode
|
||||||
case 'publisher_name':
|
case 'publisher_name':
|
||||||
$data['provider_name'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
$data['provider_name'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'publisher_url':
|
case 'publisher_url':
|
||||||
$data['provider_url'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
$data['provider_url'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'author_name':
|
case 'author_name':
|
||||||
$data['author_name'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
$data['author_name'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||||
if ($data['provider_name'] == $data['author_name']) {
|
if ($data['provider_name'] == $data['author_name']) {
|
||||||
$data['author_name'] = '';
|
$data['author_name'] = '';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'author_url':
|
case 'author_url':
|
||||||
$data['author_url'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
$data['author_url'] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||||
if ($data['provider_url'] == $data['author_url']) {
|
if ($data['provider_url'] == $data['author_url']) {
|
||||||
$data['author_url'] = '';
|
$data['author_url'] = '';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'title':
|
case 'title':
|
||||||
$value = self::convert(html_entity_decode($value, ENT_QUOTES, 'UTF-8'), false, true);
|
$value = self::convert(html_entity_decode($value, ENT_QUOTES, 'UTF-8'), false, true);
|
||||||
$value = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
$value = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||||
$value = str_replace(['[', ']'], ['[', ']'], $value);
|
$value = str_replace(['[', ']'], ['[', ']'], $value);
|
||||||
$data['title'] = $value;
|
$data['title'] = $value;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$data[$field] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
$data[$field] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user