Changeset 3463:73fa11056ad3 in livinglogic.python.xist for src/ll/xist/scripts/dtd2xsc.py

Show
Ignore:
Timestamp:
07/08/08 12:36:50 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Bump cssutils version to 0.9.5b3 and fix regressions. Fix regressions from the new default parser.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/scripts/dtd2xsc.py

    r3263 r3463  
    149149    for entname in ents: 
    150150        if entname not in ("quot", "apos", "gt", "lt", "amp"): 
    151             ent = parsers.parsestring(dtd.resolve_ge(entname).value) 
     151            ent = parsers.parsestring(dtd.resolve_ge(entname).value, parser=parsers.SGMLOPParser()) 
    152152            ns.content.append(xnd.CharRef(entname, codepoint=ord(unicode(ent[0])[0]))) 
    153153