aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-02-22 10:15:08 -0500
committerWaylan Limberg <waylan@gmail.com>2013-02-22 10:15:08 -0500
commit9aa8224faa79ac1472a70ae6fe6594022c22a2e6 (patch)
tree54168896d05a09a98b9cccc68225ff3f447b5834 /setup.py
parent8aa2fc7b5138fd97ded7dd1e70103532a9fd6583 (diff)
downloadmarkdown-9aa8224faa79ac1472a70ae6fe6594022c22a2e6.tar.gz
markdown-9aa8224faa79ac1472a70ae6fe6594022c22a2e6.tar.bz2
markdown-9aa8224faa79ac1472a70ae6fe6594022c22a2e6.zip
Change `set.append` -> `set.add` in `headerid.unique`
Fixes #195. This was getting missed because the HeadrerId extension's reset method was resetting the IDs to a list. However, some third party extensions may want to call the unique function and it should work as documented. Interestingly, the TOC extension was using it and passing in a list as well. All fixed now. Also added a test of the `unique` function directly so we shouldn't repeat this in the future.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions