Colin's Journal

Colin's Journal: A place for thoughts about politics, software, and daily life.

February 9th, 2003

Bug fix release of SimpleTAL

I’ve just uploaded a new release, version 2.1, of SimpleTAL. This release fixes a defect in the HTML compilation that meant that some HTML templates could never be valid HTML, and that the output of those templates would never be valid HTML.

The problem was that, prior to this release, all open tags that had TAL attributes had to always have a corresponding close tag. In HTML 4.01 there are several elements (e.g. img) that are forbidden to have close tags, and so the choice was either use invalid HTML that contained close tags, or not use TAL in those elements.

In SimpleTAL version 2.1, HTML templates can now have TAL attributes on open tags, for elements that are forbidden to have close tags, that have no corresponding close tags. Additionally HTML elements that are not allowed to have close tags will have them removed from the template output. More details can be found in the notes, and the new version obtained from the download page.

Comments are closed.

Copyright 2015 Colin Stewart

Email: colin at owlfish.com