mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
As now, template engine supports line feeds in comments
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9557 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8ead9f7651
commit
9069d63d45
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@
|
|||
}
|
||||
|
||||
// replace comments
|
||||
$buff = preg_replace('@<!--//.*?-->@', '', $buff);
|
||||
$buff = preg_replace('@<!--//.*?-->@s', '', $buff);
|
||||
|
||||
// replace value of src in img/input/script tag
|
||||
$buff = preg_replace_callback('/<(?:img|input|script)(?:(?!["\'\/]\s*>).)* src="(?!https?:\/\/|[\/\{])([^"]+)"/is', array($this, '_replacePath'), $buff);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue