#241 new

Not-link aliases get garbled

Reported by Felix | December 10th, 2011 @ 10:45 AM

When link-aliases aren't actually a link alias, the input still is removed.

Example failing test:

diff --git a/spec/fixtures/links.yml b/spec/fixtures/links.yml
index 5e1b957..bf386da 100644
--- a/spec/fixtures/links.yml
+++ b/spec/fixtures/links.yml
@@ -254,6 +254,10 @@ in: |-
 html: |-
   <p><a href="http://google.com">link</a></p>
+name: link alias without a link
+in: '[msg1][msg2]'
+html: '<p>[msg1][msg2]</p>'
 name: contained in multi-paragraph quotes
 in: |-
   "I first learned about "Redcloth":http://redcloth.org/ several years ago.

Currently, the output is <p>]</p>

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket