Comparing version 0.1.0 to 0.1.1
@@ -31,3 +31,5 @@ /* | ||
// Adjust spacing for button > span | ||
.replace(/(<button .+)(.+)(<span.+)(\s*)(<\/button>)/g, '$1>$4 $3$4$5') | ||
.replace(/(<button.+)(<span.+)(\s*)(<\/button>)/g, '$1$3 $2$3$4') | ||
// Adjust spacing for span > input | ||
.replace(/(\s*)(<span.+)(\s*)(<input.+)(\s*)(<\/span>)/g, '$1$2$1 $4$1$6') | ||
// Add a newline for tags nested inside <h1-6> | ||
@@ -34,0 +36,0 @@ .replace(/(\s*)(<h[0-6](?:.+)?>)(.*)(<(?:small|span|strong|em)(?:.+)?)(\s*)(<\/h[0-6]>)/g, '$1$2$3$1 $4$1$6') |
{ | ||
"name": "pretty", | ||
"description": "Sensible presets and some tweaks for beautifying HTML with js-beautify according to my preferences.", | ||
"version": "0.1.0", | ||
"description": "Some tweaks for beautifying HTML with js-beautify according to my preferences.", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/jonschlinkert/pretty", | ||
@@ -6,0 +6,0 @@ "author": { |
5331
76