Skip to content

Commit

Permalink
Should be ready for the last 1.3 release now
Browse files Browse the repository at this point in the history
  • Loading branch information
floele committed Jul 10, 2007
1 parent 899f315 commit 834309e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions class.csstidy.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Various CSS data needed for correct optimisations etc.
*
* @version 1.2
* @version 1.3
*/
require('data.inc.php');

Expand Down Expand Up @@ -56,7 +56,7 @@
* An online version should be available here: http://cdburnerxp.se/cssparse/css_optimiser.php
* @package csstidy
* @author Florian Schmitz (floele at gmail dot com) 2005-2006
* @version 1.2
* @version 1.3
*/
class csstidy {

Expand Down Expand Up @@ -116,7 +116,7 @@ class csstidy {
* @var string
* @access private
*/
var $version = '1.2';
var $version = '1.3';

/**
* Stores the settings
Expand Down Expand Up @@ -250,7 +250,7 @@ class csstidy {
/**
* Loads standard template and sets default settings
* @access private
* @version 1.2
* @version 1.3
*/
function csstidy()
{
Expand Down Expand Up @@ -788,7 +788,7 @@ function parse($string) {
if($string{$i} == $this->str_char && !csstidy::escaped($string,$i) && !$this->str_in_str)
{
$this->status = $this->from;
if (!preg_match('|[' . implode('', $GLOBALS['csstidy']['whitespace']) . ']|uis', $this->cur_string)) {
if (!preg_match('|[' . implode('', $GLOBALS['csstidy']['whitespace']) . ']|uis', $this->cur_string) && $this->property != 'content') {
if ($this->str_char == '"' || $this->str_char == '\'') {
$this->cur_string = substr($this->cur_string, 1, -1);
} else if (strlen($this->cur_string) > 3 && ($this->cur_string[1] == '"' || $this->cur_string[1] == '\'')) /* () */ {
Expand Down Expand Up @@ -996,4 +996,4 @@ function property_is_valid($property) {
}

}
?>
?>

0 comments on commit 834309e

Please sign in to comment.