mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
fix #2064 link 태그 사용 시 self-closing 차이에 따라 뒤에 오는 태그를 head 영역으로 잘못 끌어 올리는 문제 고침
This commit is contained in:
parent
1591f8b728
commit
bff80770f1
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ class HTMLDisplayHandler
|
||||||
$output = preg_replace_callback('!<style(.*?)>(.*?)<\/style>!is', array($this, '_moveStyleToHeader'), $output);
|
$output = preg_replace_callback('!<style(.*?)>(.*?)<\/style>!is', array($this, '_moveStyleToHeader'), $output);
|
||||||
|
|
||||||
// move <link ..></link> in body to the header
|
// move <link ..></link> in body to the header
|
||||||
$output = preg_replace_callback('!<link(.*?)/>!is', array($this, '_moveLinkToHeader'), $output);
|
$output = preg_replace_callback('!<link(.*?)/?>!is', array($this, '_moveLinkToHeader'), $output);
|
||||||
|
|
||||||
// move <meta ../> in body to the header
|
// move <meta ../> in body to the header
|
||||||
$output = preg_replace_callback('!<meta(.*?)(?:\/|)>!is', array($this, '_moveMetaToHeader'), $output);
|
$output = preg_replace_callback('!<meta(.*?)(?:\/|)>!is', array($this, '_moveMetaToHeader'), $output);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue