Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add PHP tags to single tags

  • Loading branch information...
commit 7e21405dff4f04067660ffbae9c48b046c97e99f 1 parent b20be94
@adamjimenez adamjimenez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  beautify-html.js
View
2  beautify-html.js
@@ -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++) {
Please sign in to comment.
Something went wrong with that request. Please try again.