Show
Ignore:
Timestamp:
03/25/08 09:24:47 (2 years ago)
Author:
JensDiemer
Message:

move the automatic headline anchor function from tinyTextile markup ( changeset:1500 ) into a middleware. So every markups becomes headline anchors. See also: ticket:46

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/middlewares/page_cache_debug.py

    r1168 r1503  
    5353 
    5454        content = response.content 
    55         if "html" in response.headers['Content-Type']: 
     55        if "html" in response._headers["content-type"][1]: 
    5656            # Try to insert the info into a html valid way. 
    5757            old_content = content