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

Module serialize

source code

serializer classes for CSS classes


Version: $LastChangedRevision: 699 $

Date: $LastChangedDate: 2007-11-25 19:09:44 +0100 (So, 25 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