#59 ✓resolved
Steve Purcell

Links not recognized inside multi-paragraph quotes

Reported by Steve Purcell | September 24th, 2008 @ 04:27 PM | in 4.0.4

In a quotation that spans two paragraphs, it's usual to omit the closing quote of the first paragraph. Doing so, however, apparently stops Redcloth from detecting and rendering links inside that first para.

And putting a notextile section inside that first para makes a real mess.

Here's what I've added to test/links.yml to demonstrate the issue:

name: link contained in multi-paragraph quote
in: |-
  "I first learned about "Redcloth":http://redcloth.org/ several years ago.

  "It's wonderful."
html: |-
  <p>&#8220;I first learned about <a href="http://redcloth.org/">Redcloth</a> several years ago.</p>
  <p>&#8220;It&#8217s wonderful.&#8221;</p>
name: html contained in multi-paragraph quote
in: |-
  "Here is a <notextile><a href="http://redcloth.org/">link</a></notextile>.

  "I like links."
html: |-
  <p>&#8220;Here is a <a href="http://redcloth.org/">link</a>.</p>
  <p>&#8220;I like links..&#8221;</p>

Comments and changes to this ticket

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

Referenced by