This Space for Rent

New Code!

discount has been rolled up to version 1.4.4 after a cleanup of the test suite (which wasn’t portable to plan9 due to grep differences between the Unix®©™ world and the Plan9 world), a few bugfixes for things that weren’t working and which weren’t being caught because the grep jungle was tripping me up unawares, and some cleanups of the autolink code to make it look more like the reference implementation.

The list of (mis?)features is:

  1. Add <map> to the html blocks we know about.
  2. Redo most of the test cases so they won’t use grep except in exceptional cases.
  3. To prettify the test case output, modify cols.c so that it more-properly handles utf-8 characters.
  4. Make autolink hew closer to the reference (reddit) implementation.
  5. Fix a bug in generate.c where MKD_NO_EXT was not being handled.
  6. Add -fext to the options for the markdown program
  7. Plan9 documentation corrections from Josh Wood
  8. Find and fix a bug where a url with an embedded double quote is printed out with that doublequote in plaintext.
  9. Some more code primping to make anal-compulsive pseudo-C compilers stfu.
  10. Redo puturl() and the url grabbers to do debackslashification in puturl()

This posting shows that I’ve not put any horrible new crash-causing bugs into the mainline code, so it’s perfectly safe to use, and thus the ideal candidate for the late night New Code! release of the week.

And maybe 1.4.5 will see the documentation being properly updated, too.