| changeset 270 | 05a602160c58 |
| parent 0 | 40c8f766c9b8 |
| child 450 | 81fa74c112b8 |
--- a/src/cm/utils/spannifier.py Thu May 06 16:58:29 2010 +0200 +++ b/src/cm/utils/spannifier.py Thu May 06 17:48:11 2010 +0200 @@ -12,7 +12,9 @@ def get_the_soup(input): return BeautifulSoup(input, convertEntities=["xml", "html"]) - + +from cm.utils.cache import memoize, dj_memoize +@dj_memoize def spannify(input): """ wrap textNodes in spans