Skip to content

Commit 32dab06

Browse files
committed
Fix some bugs
1 parent 822a2fb commit 32dab06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ppeco/tplpp/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function compile(): string{
2828
while(preg_match('/{{([^.]+?)}}/', $this->input, $output,
2929
PREG_OFFSET_CAPTURE)){
3030
$this->input = substr($this->input, 0, $output[0][1])
31-
.exec($this, $output[1][0])
31+
.exec($this, html_entity_decode($output[1][0]))
3232
.substr($this->input, $output[0][1]+strlen($output[0][0]), strlen($this->input));
3333
}
3434

0 commit comments

Comments
 (0)