I would say this is a minor bug, and an interesting edge case as well.
The cause is the semi-colon following the `T`. `&T;` looks like an
html entity. If you remove the semicolon, the `&` is properly
converted to `&`.

In python-markdown, you can escape the `&` and you will get the expected output:

    under a license from AT\&T; however, others were based on BSD instead.

becomes:

    <p>under a license from AT&amp;T; however, others were based on BSD instead.
    </p>

Unfortunately, this does not seem to work in the other implementations.

On Feb 3, 2008 12:22 PM, Petite Abeille <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Given the following text:
>
> under a license from AT&T; however, others were based on BSD instead.
>
> Daring Fireball's Markdown Dingus produces:
>
> <p>under a license from AT&T; however, others were based on BSD
> instead.</p>
>
> Note how the '&' is not escaped to '&amp;'.
>
> Bug? Feature?
>
> Thanks in advance.
>
> Kind regards,
>
> PA.
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss@six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>



-- 
----
Waylan Limberg
[EMAIL PROTECTED]
_______________________________________________
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to