Ticket #580 (closed defect: invalid)

Opened 9 months ago

Last modified 6 months ago

markdown incorrectly formats ** and * enclosed 2 digit numbers

Reported by: johnm Assigned to:
Priority: trivial Milestone:
Component: core Keywords: markdown em strong
Cc: lists1@caenim.com

Description

given the markdown:

**1**

**12**

**123**

**1234**

**12345**

*1*

*12*

*123*

*1234*

*12345*

radiant produces:

<p><strong>1</strong></p>

<p><em>*12</em>*</p>

<p><strong>123</strong></p>

<p><strong>1234</strong></p>

<p><strong>12345</strong></p>

<p><em>1</em></p>

<p>*12*</p>

<p><em>123</em></p>

<p><em>1234</em></p>

<p><em>12345</em></p>

whereas the markdown dingus and textmate's convert markdown to html command produce:

<p><strong>1</strong></p>

<p><strong>12</strong></p>

<p><strong>123</strong></p>

<p><strong>1234</strong></p>

<p><strong>12345</strong></p>

<p><em>1</em></p>

<p><em>12</em></p>

<p><em>123</em></p>

<p><em>1234</em></p>

<p><em>12345</em></p>

as you can see the weird part is that only 2 digit numbers appear to be affected. I tried on two different installs, one 0.6.4 mac 10.4.10 and 0.6.2 ubuntu 7.04 with the same results on both. I also tried _ and "double underscore" (which trac would very much like to convert to underline) instead of * and ** and with the same results

Change History

02/23/08 13:26:26 changed by seancribbs

  • status changed from new to closed.
  • resolution set to invalid.
  • component set to core.

This should be addressed to the owner of the BlueCloth? gem.