mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix relative path in "poster" attribute not being converted correctly
This commit is contained in:
parent
e44f5ef434
commit
a0af57139e
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class HTMLDisplayHandler
|
|||
$pattern = '/(action)=(["\'])(["\'])/s';
|
||||
$output = preg_replace($pattern, '$1=$2' . \RX_BASEURL . '$3', $output);
|
||||
|
||||
$pattern = '/(action|src|href)=(["\'])\.\/([^"\']*)(["\'])/s';
|
||||
$pattern = '/(action|poster|src|href)=(["\'])\.\/([^"\']*)(["\'])/s';
|
||||
$output = preg_replace($pattern, '$1=$2' . \RX_BASEURL . '$3$4', $output);
|
||||
|
||||
$pattern = '/src=(["\'])((?:files\/(?:attach|cache|faceOff|member_extra_info|thumbnails)|addons|common|(?:m\.)?layouts|modules|widgets|widgetstyle)\/[^"\']+)(["\'])/s';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue