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/pagestats.py

    r1481 r1503  
    6767 
    6868        # Put only the statistic into HTML pages 
    69         if response._headers.get('content-type', None) == "text/html": 
     69        if not "html" in response._headers["content-type"][1]: 
    7070            # No HTML Page -> do nothing 
    7171            return response