[prev in list] [next in list] [prev in thread] [next in thread]
List: markdown-discuss
Subject: Re: Entity conversion glitch?
From: "Waylan Limberg" <waylan () gmail ! com>
Date: 2008-02-03 20:35:48
Message-ID: e5d795bb0802031235n26f1216r2f5ab56bc793b97f () mail ! gmail ! com
[Download RAW message or body]
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&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 <petite.abeille@gmail.com> 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 '&'.
>
> 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
waylan@gmail.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic