semantic markup for Python's difflib.HtmlDiff
Question: It appears Python's `difflib.HtmlDiff`, rather than using `INS` and `DEL`,
uses `SPAN` elements with custom classes:

    
    
    python -c 'import difflib; txt1 = "lorem ipsum\ndolor sit amet".splitlines(); txt2 = "lorem foo isum\ndolor amet".splitlines(); d = difflib.HtmlDiff(); print d.make_table(txt1, txt2)'
    

Before I go about fixing this myself, has anyone looked into this already? Is
there perhaps a valid reason for not using POSH? (Google wasn't a big help
here... )


Answer: [This script](http://www.aaronsw.com/2002/diff/) by Aaron Swartz uses difflib
to output `ins`/`del`.

