Skip to content

Commit

Permalink
Add PHP tags to single tags
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjimenez committed Oct 16, 2012
1 parent b20be94 commit 7e21405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beautify-html.js
Expand Up @@ -67,7 +67,7 @@ function style_html(html_source, options) {

this.Utils = { //Uilities made available to the various functions
whitespace: "\n\r\t ".split(''),
single_token: 'br,input,link,meta,!doctype,basefont,base,area,hr,wbr,param,img,isindex,?xml,embed'.split(','), //all the single tags for HTML
single_token: 'br,input,link,meta,!doctype,basefont,base,area,hr,wbr,param,img,isindex,?xml,embed,?php,?,?='.split(','), //all the single tags for HTML
extra_liners: 'head,body,/html'.split(','), //for tags that need a line of whitespace before them
in_array: function (what, arr) {
for (var i=0; i<arr.length; i++) {
Expand Down

0 comments on commit 7e21405

Please sign in to comment.