• fragment links (e.g. [foo](#foo)) will be rewritten to use the goTo() JS 
function (so that skipping the chrome is handled and to make document-local 
links work when using <base href="…">)
• account for potential attributes in the <h«n»>-tags when harvesting the ToC
• strip id attributes from tags that end up in the ToC, e.g. if you have: ‘# 
foo <span id="foo"/>’ the ToC entry will not preserve the id-attribute (which 
would have made the document invalid and ruled the id, used to reference 
something, useless)

Patch from Henrik Nyh (Spanko on ##textmate)

Changed:
U   trunk/Support/lib/markdown_to_help.rb

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to