mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fixed a bug for compiling templates
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9282 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb1aca2a8b
commit
5a027fbdf5
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@
|
|||
}
|
||||
|
||||
// replace value of src in img/input/script tag
|
||||
$buff = preg_replace_callback('/(<(?:img|input|script)(?:->|<!--.+?-->|[^<>])*)\ssrc="(?!https?:\/\/|[\/\{])(.+?)"/is', array($this, '_replacePath'), $buff);
|
||||
$buff = preg_replace_callback('/(<(?:img|input|script)(?:->|[^<>\-])*)\ssrc="(?!https?:\/\/|[\/\{])(.+?)"/is', array($this, '_replacePath'), $buff);
|
||||
|
||||
// replace loop and cond template syntax
|
||||
$buff = $this->_parseInline($buff);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue