Skip to content

Commit f8f09f1

Browse files
authored
Merge pull request #104 from all9lives/master
Add text/template type
2 parents 46dc4cd + 070c79b commit f8f09f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/voku/helper/HtmlDomParser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class HtmlDomParser extends AbstractDomParser
7575
* ```php
7676
* protected $specialScriptTags = [
7777
* 'text/html',
78+
* 'text/template',
7879
* 'text/x-custom-template',
7980
* 'text/x-handlebars-template'
8081
* ]
@@ -84,6 +85,7 @@ class HtmlDomParser extends AbstractDomParser
8485
*/
8586
protected $specialScriptTags = [
8687
'text/html',
88+
'text/template',
8789
'text/x-custom-template',
8890
'text/x-handlebars-template',
8991
];

0 commit comments

Comments
 (0)