From 0d4371205a28849b7792a4c545aa3f66a71f0d8e Mon Sep 17 00:00:00 2001 From: Juriy Zaytsev Date: Fri, 12 Mar 2010 12:42:06 -0500 Subject: [PATCH] Trim whitespace in attribute values. For now, only in those with %URI; type: href, src, action, etc. --- index.html | 1 + src/htmlminifier.js | 9 ++++++++- tests/index.html | 40 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index f6c7c86..5dc96bc 100644 --- a/index.html +++ b/index.html @@ -143,6 +143,7 @@
  • Remove as many empty/blank attributes as possible (not just core ones)
  • Parser trips over xml declarations (need to ignore or strip them)
  • Generate a report of all applied transformations
  • +
  • Experiment with web workers (to avoid freezing browser)