adelevie / downlaw

Write markdown with legal citations on the left, get rendered markdown on the right. Oh, and the legal citations become links.
http://adelevie.github.io/downlaw/
18 stars 3 forks source link

links are not generated for duplicate identical citations #6

Open ricardocabral opened 10 years ago

ricardocabral commented 10 years ago

Example where the link for the 2nd USC 112 is not created.

Type some *markdown* here! Legal citations become links.

asdasdasasd

asdsdaassd
--------------

sadasdasdsa 
dsa
dsa
See, e.g., 35 USC 113 and Ashcroft v. Iqbal, 556 U.S. 662 (2009).

d
sad
a
sd
 sa

 safdsf sad:

    fdsasdfsdfasdfd

See, e.g., 35 USC 112 and Ashcroft v. Iqbal, 556 U.S. 662 (2009).

dfasfdffadafd

See, e.g., 35 USC 112 and Ashcroft v. Iqbal, 556 U.S. 662 (2009).
adelevie commented 10 years ago

There is a known issue with judicial citations, and I'd very much like to get to the bottom of this.

Thanks for reporting this!

I should look into setting up tests.

Sent from my iPhone

On May 3, 2014, at 7:13 PM, Ricardo Niederberger Cabral notifications@github.com wrote:

Example:

Type some markdown here! Legal citations become links.

asdasdasasd

asdsdaassd

sadasdasdsa dsa dsa See, e.g., 35 USC 113 and Ashcroft v. Iqbal, 556 U.S. 662 (2009).

d sad a sd sa

safdsf sad:

fdsasdfsdfasdfd

See, e.g., 35 USC 112 and Ashcroft v. Iqbal, 556 U.S. 662 (2009).

dfasfdffadafd

See, e.g., 35 USC 112 and Ashcroft v. Iqbal, 556 U.S. 662 (2009). — Reply to this email directly or view it on GitHub.