mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 1284 fixed a bug of parsing cond sentence on html attribute including dash(-).
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10187 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
52bd124ff9
commit
dcf5b5a8eb
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ class TemplateHandler {
|
|||
}
|
||||
|
||||
if(strpos($node, '|cond="') !== false) {
|
||||
$node = preg_replace('@(\s[\w:]+="[^"]+?")\|cond="(.+?)"@s', '<?php if($2){ ?>$1<?php } ?>', $node);
|
||||
$node = preg_replace('@(\s[\w:\-]+="[^"]+?")\|cond="(.+?)"@s', '<?php if($2){ ?>$1<?php } ?>', $node);
|
||||
$node = $this->_replaceVar($node);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue