PHP Markdown: Block tag syntax experiments

John Gruber gruber at fedora.net
Sat Aug 21 23:03:04 EDT 2004


Michel Fortin <michel.fortin at michelf.com> wrote on 08/21/04 at 1:42pm:

> 3.    Some tags, like "script" and "math" should not at all be
>      altered by Markdown. Currently this works only if they are
>      not in a paragraph, but consider something like this:
> 
>          Current time is <script> write_current_time(); </script>.
> 
>      It get converted to this (obviously wrong):
> 
>          <p>Current time is <script> write<em>current</em>time(); 
> </script>.</p>

Good point. I've filed it as a bug. Do you already have a fix for
this in PHP?

-J.G.




More information about the Markdown-discuss mailing list