BlogText 0.9.4 released

BlogText 0.9.4 has just been released. It’s primarily a bug fix release but there are two things you should know about (see below).

As usual, you can download the new version from wordpress.org (see Download & Installation), or use WordPress’ update mechanism.

Syntax Changes

This release introduces two syntax changes that were necessary to fix some bugs.

  1. To indent some text, you now need at least two spaces. Before 0.9.4, one space was sufficient. This change was made to avoid accidental indention of content generated by other plug-ins (such as the more-link generated by WordPress itself).
  2. List items (like *, #, or ;) now require a space between them and their text. Before 0.9.4, this code *some text would have worked. Now you need to write * some text to create a list. This change was necessary to allow bold text (**) at the beginning of a line.

Logging Database Table

Before 0.9.4, BlogText used to log to a database table called logging (with WordPress prefix, usually wp_logging). This functionality has been removed. However, as a precaution, the database table will not be deleted automatically. You need to do this yourself.

If you want to make sure you’re deleting the correct table, here’s the table’s definition (in SQL):

CREATE TABLE `wp_logging` (
  `id` BIGINT(20) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `level` CHAR(5) NOT NULL,
  `source` VARCHAR(100) NOT NULL,
  `message` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `date` (`date`)
)

Changelog Since 0.9.3

  • [Syntax Change] To add indented text to an open list, its items now need to be indented by at least two spaces; previously only one space was necessary. This change was made to avoid accidental indention of content generated by other plug-ins (such as the more-link generated by WordPress itself).
  • [Syntax Change] Ordered and unordered list item (e.g. *, #, *#, …) now need a space after them to be recognized. This change was introduced to work around a problem where the BlogText parser didn’t recognize the bold syntax at the beginning of a line.
  • [Style Change] The TOC no longer uses float: right.
  • Double hash code sections (##) now work, when they’re at the beginning of a line.
  • Fixed code blocks with syntax highlighting: No more additional empty lines between code lines (only happen when syntax highlighting was used but line numbering wasn’t).
  • Fixed thumbnails that weren’t displayed when PHP strict warning were enabled.
  • Fix: Bold text can now be at the beginning of a line, even if indented.
  • Updated to newest GeSHi revision (svn: r2522, hg: b4dcf778dccf)

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.