Skip to content

Commit

Permalink
chore: support php tags in posthtml parser
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Nov 4, 2024
1 parent 5f15dcb commit 7d20789
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/posthtml/defaultConfig.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export default {
recognizeNoValueAttribute: true,
recognizeSelfClosing: true
recognizeSelfClosing: true,
directives: [
{ name: '?php', start: '<', end: '>' },
],
}

0 comments on commit 7d20789

Please sign in to comment.