Package cssutils :: Module serialize |
[hide private]
[frames] | no frames]

# Module serialize

source code

serializer classes for CSS classes

TODO: - indent subrules if selector is subselector

Version: $LastChangedRevision: 633 $

Date: $LastChangedDate: 2007-11-03 22:43:55 +0100 (Sa, 03 Nov 2007) $

Author: $LastChangedBy: cthedot $

Classes | [hide private]
| Preferences controls output of CSSSerializer
| CSSSerializer Methods to serialize a CSSStylesheet and its parts

Functions | [hide private]
_escapecss(e) Escapes characters not allowed in the current encoding the CSS way with a backslash followed by a uppercase 6 digit hex code point (always 6 digits to make it easier not to have check if no hexdigit char is following). | source code

Imports: codecs, re, cssutils, util

Function Details | [hide private]

### _escapecss(e) | source code
Escapes characters not allowed in the current encoding the CSS way with a backslash followed by a uppercase 6 digit hex code point (always 6 digits to make it easier not to have check if no hexdigit char is following). E.g. the german umlaut 'ä' is escaped as 0E4