Permalink
Commits on Jul 30, 2012
Commits on Jul 27, 2012
Commits on Jul 11, 2012
  1. Catch AttributeError in Python 2.6.

    James Socol committed Jul 11, 2012
  2. Update docs, fix #71.

    James Socol committed Jul 11, 2012
Commits on Jul 10, 2012
  1. Update changelog for v1.1.3.

    James Socol committed Jul 10, 2012
  2. Fix #70. Parse URLs when parse_email=True.

    James Socol committed Jul 10, 2012
    Don't skip parsing URLs in text just because parse_email=True.
Commits on Jul 6, 2012
  1. Fix .. note:: directives.

    James Socol committed Jul 6, 2012
  2. Fix docs index.

    James Socol committed Jul 6, 2012
  3. Lots of docs ready for RTD.

    James Socol committed May 12, 2012
Commits on Jul 3, 2012
  1. Pass links through callbacks. Fix #56.

    James Socol committed Mar 6, 2012
    `linkify()` now accepts an iterable of callbacks as a second argument.
    Those callbacks can alter the atributes of the link or return None to
    either remove an existing link (the delinkify case) or prevent a new
    link from being created.
    
    The signature of the callbacks must be:
    
        def cb(attrs, new):
    
    The first argument is a dict of attributes of the link, including the
    inner text of the link (in the key '_text'). The second argument is a
    boolean indicating whether the link is newly created or not.
    
    These callbacks must either return the `attrs` dict, either as-is or
    with entries added, removed, or modified, or None. If any of the
    callbacks returns None, the link will be removed (or not created) and
    replaced with its original text value.
    
    Callbacks are run in the order they are given in the iterable.
  2. Capture RuntimeError, fix issue 69.

    James Socol committed Jul 3, 2012
  3. Fix issue #68. Warn before error.

    James Socol committed Jul 3, 2012
Commits on Jun 1, 2012
  1. Move past version 1.1.x.

    James Socol committed Jun 1, 2012
  2. Real CONTRIBUTORS list.

    James Socol committed Jun 1, 2012
  3. Fill in CHANGES back to 1.0.0.

    James Socol committed Jun 1, 2012
  4. PEP8/Pyflakes clean up.

    James Socol committed Jun 1, 2012
Commits on May 29, 2012
  1. Fix a hang in the style attribute validation gauntlet

    lmorchard committed Apr 11, 2012
    Turns out that the addition of a hyphen for vendor-prefixes causes a
    long hang in the style validator. Not sure how long, but it seems to be
    influenced by the length of the inline styles. This appears to fix it
    and passes tests.
Commits on May 12, 2012
  1. Changelists are good.

    James Socol committed May 12, 2012
  2. Only use real/acceptable protocols.

    TimothyFitz committed with James Socol Dec 7, 2011
    Use HTMLSanitizer's whitelist of protocols to ensure we don't
    generate <a> tags with hrefs the sanitizer will remove.
  3. Remove unused imports.

    James Socol committed May 12, 2012
  4. Add tokenizer option to linkify().

    ThiefMaster committed with James Socol May 11, 2012
    Sometimes sanitization is not wanted when linkifying. This allows people
    to pass HTMLTokenizer instead of HTMLSanitizer if they do not want
    sanitization.
Commits on Mar 7, 2012
  1. Typoed.

    James Socol committed Mar 7, 2012
  2. Enable Travis-CI.

    James Socol committed Mar 7, 2012
Commits on Feb 17, 2012
  1. Remove delinkify docs.

    James Socol committed Feb 17, 2012
  2. Drop delinkify. Fixes #53.

    James Socol committed Feb 17, 2012
  3. Version bump with fix.

    James Socol committed Feb 17, 2012
  4. Fixed tokeniser init signature to handle the new parser argument ship…

    zyegfryed committed Feb 17, 2012
    …ped in html5lib 0.95.
Commits on Oct 25, 2011
  1. Add a nice, nasty security test.

    James Socol committed Oct 25, 2011
  2. Update version and docs.

    James Socol committed Oct 25, 2011
Commits on Oct 24, 2011
  1. Support whitelisting subdomains. Fix #47. Fix #48.

    James Socol committed Oct 21, 2011
Commits on Oct 21, 2011
  1. delinkify() works! Fixes #45.

    James Socol committed Oct 21, 2011
Commits on Oct 20, 2011
  1. More notes.

    James Socol committed Oct 20, 2011
  2. WIP on delinkify, no meat yet.

    James Socol committed Oct 20, 2011
Commits on Oct 3, 2011
  1. Move Contributors to CONTRIBUTORS

    James Socol committed Oct 3, 2011