link-roundups icon indicating copy to clipboard operation
link-roundups copied to clipboard

How should link descriptions handle multiple paragraphs?

Open aschweigert opened this issue 10 years ago • 0 comments

@benlk said:

If you put in a multi-paragraph description on a link,

Paragraph the first.

Paragraph the second.

Paragraph the third.

The description will be mashed down to a single paragraph for the purposes of Link Roundup posts.

<p class="link-roundup"><a href="https://source.opennews.org/en-US/learning/audio-browser/">Audio in the Browser: Horrors and Joys – Learning – Source: An OpenNews project</a> – <span class="description">Paragraph the first. Paragraph the second. Paragraph the third.</span></p>

Some options:

  • <br/> between the former paragraphs, within the <p class="link-roundup">
  • Let paragraphs be paragraphs, wrap the whole description in a <div class="link-roundup"> and let paragraphs be paragraphs
  • Trim the description with something like largo_excerpt down to just one paragraph, and warn that that's the limit in the description editor

Moved from: https://github.com/INN/argo-links/issues/21

aschweigert avatar Jul 10 '15 17:07 aschweigert