HTML_Compressor - Version 0.1.1

Version Notes

Initial Relase

Download this release

Release Info

Developer Razorphyn
Extension HTML_Compressor
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

Files changed (2) hide show
  1. lib/Razorphyn/html_compressor.php +1 -1
  2. package.xml +4 -4
lib/Razorphyn/html_compressor.php CHANGED
@@ -71,7 +71,7 @@
71
  //Replace unique id with script, style, pre original tag
72
  $c=count($idarray);
73
  for($i=0;$i<$c;$i++){
74
- $string = str_replace($idarray[$i][0], "\n".$idarray[$i][1]."\n", $string);
75
  }
76
 
77
  return $string;
71
  //Replace unique id with script, style, pre original tag
72
  $c=count($idarray);
73
  for($i=0;$i<$c;$i++){
74
+ $string = str_replace($idarray[$i][0], $idarray[$i][1], $string);
75
  }
76
 
77
  return $string;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HTML_Compressor</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.wtfpl.net/">WTFPL</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Remove unnecessary space usage(white space, empty lines, etc) and leaves pre, textarea, script, style, cdata and IE comments untouched</description>
11
  <notes>Initial Relase</notes>
12
  <authors><author><name>Razorphyn</name><user>Razorphyn</user><email>est.grandi@gmail.com</email></author></authors>
13
- <date>2014-12-17</date>
14
- <time>16:32:15</time>
15
- <contents><target name="magelib"><dir><dir name="Razorphyn"><file name="html_compressor.php" hash="d7e29983ce7520bc82c221f1848824d1"/></dir></dir></target><target name="magelocal"><dir><dir name="Razorphyn"><dir name="HTMLCompressor"><dir name="Model"><file name="Observer.php" hash="591d43cc8e4a344391cb1349828c6784"/><file name="extime.log" hash="c4fc0905d6fd6884da9f4dd6135adce5"/></dir><dir name="etc"><file name="config.xml" hash="aa5611a7c00cd19f3434c1fefcb63c47"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Razorphyn_HTMLCompressor.xml" hash="372046018f3123d810bfb2d4590388b0"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>HTML_Compressor</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.wtfpl.net/">WTFPL</license>
7
  <channel>community</channel>
10
  <description>Remove unnecessary space usage(white space, empty lines, etc) and leaves pre, textarea, script, style, cdata and IE comments untouched</description>
11
  <notes>Initial Relase</notes>
12
  <authors><author><name>Razorphyn</name><user>Razorphyn</user><email>est.grandi@gmail.com</email></author></authors>
13
+ <date>2014-12-18</date>
14
+ <time>09:50:12</time>
15
+ <contents><target name="magelib"><dir><dir name="Razorphyn"><file name="html_compressor.php" hash="7466780708b5042c56edbdfcc9eb95ab"/></dir></dir></target><target name="magelocal"><dir><dir name="Razorphyn"><dir name="HTMLCompressor"><dir name="Model"><file name="Observer.php" hash="591d43cc8e4a344391cb1349828c6784"/><file name="extime.log" hash="c4fc0905d6fd6884da9f4dd6135adce5"/></dir><dir name="etc"><file name="config.xml" hash="aa5611a7c00cd19f3434c1fefcb63c47"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Razorphyn_HTMLCompressor.xml" hash="372046018f3123d810bfb2d4590388b0"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>