Preview error with only Markdown

Jay Allen markdown at openwire.com
Sat May 1 03:21:30 EDT 2004


Hey John et al,

First for the good news: INS and DEL work perfectly now in all of my 
tests, both in block-level and inline context.  Thanks John!

Now for the bad news (sort of).    A bug.

SUMMARY: There is a consistently reproducible problem with entry 
previewing using Markdown (1.0b5) and MT 3.0b2.  It DOES NOT happen 
using Markdown 1.0b4 or "Markdown and SmartyPants".

FULL REPORT:  When I preview an entry using MT 3.0b2 and Markdown 
1.0b5, I get the following consistently reproducible error:

 > Loading template 'preview_entry.tmpl' failed: HTML::Template->new() :
 > Unknown or unmatched TMPL construct at
 >/home/j/www.jayallen.org/cgi/mtbeta/tmpl/cms/preview_entry.tmpl : line 
1.
 >at /home/j/www.jayallen.org/cgi/mtbeta/extlib/HTML/Template.pm line 
2076.

When I preview with any other text formatting option selected 
(including "Markdown and SmartyPants"), I get no error.

I would not bother too much with this considering that it's beta vs 
beta, BUT I just verified that this does NOT happen using Markdown 
1.0b4 and the same version of MT.

Furthermore, if I save the entry (without previewing), everything is 
compiled as expected with no errors.

I am going to do some investigative work, but I thought that perhaps 
someone might know the cause of this offhand.  If you need more 
information, please let me know.

-j-
http://www.jayallen.org/


On Apr 30, 2004, at 4:04 AM, John Gruber wrote:

> OK, gang, I've put together a 1.0b5 beta of Markdown:
>
> <http://daringfireball.net/projects/downloads/Markdown_1.0b5.zip>
>
> This is a semi-private beta release, which I'm only announcing here
> on the list. It's not a secret (this list has public archives, for
> example), but I'd prefer it if it were only used by the small group
> of people subscribed here.
>
> I'd like to move quickly towards 1.0 final, with a couple of
> incremental betas. But I don't want the public at-large to be
> exposed to a bunch of betas, some of which might have ugly bugs.
> 1.0b4 seems to be stable and useful, so we'll let the masses stick
> with that one for a bit longer.
>
> Here are my change notes for this release:
>
> 1.0b5:
>
> *   If Markdown() is called without a string parameter, it now
>     returns an empty string. Previously, it'd generate warnings.
>     This should never happen, but there's no harm in safeguarding
>     against it.
>
> *   Workaround for supporting <ins> and <del> as block-level tags.
>     This only works if the start and end tags are on lines by
>     themselves.
>
> *   Three or more underscores can now be used for horizontal rules.
>
> *   Lines containing only whitespace are trimmed from blockquotes.
>
> *   You can now optionally wrap URLs with angle brackets -- like so:
>     `<http://example.com>` -- in link definitions and inline links and
>     images.
>
> *   `_` and `*` characters in links and images are no longer escaped
>     as HTML entities. Instead, we use the ridiculous but effective MD5
>     hashing trick that's used to hide these characters elsewhere. The
>     end result is that the HTML output uses the literal `*` and `_`
>     characters, rather than the ugly entities.
>
> -J.G.
> _______________________________________________
> Markdown-discuss mailing list
> Markdown-discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>



More information about the Markdown-discuss mailing list