Changeset 383

Show
Ignore:
Timestamp:
01/20/06 07:51:58 (3 years ago)
Author:
athomas
Message:

TocMacro:

  • Decode anchor to UTF-8, closes #92
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tocmacro/0.9/TOC.py

    r320 r383  
    6161                break 
    6262            else: 
    63                 default_anchor = anchor = Formatter._anchor_re.sub("", header
     63                default_anchor = anchor = Formatter._anchor_re.sub("", header.decode('utf-8')
    6464                anchor_n = 1 
    6565                while anchor in seen_anchors: