Problem/Motivation

I would like to convert quotes created with the Drupal core "Block Quote" button into quotes provided by this module; however, many of my quotes don't have an author, and if I leave the author field empty, unnecessary blank space is rendered below the quote.

After inspecting the generated markup, it looks like if the author field is left empty, the author HTML element is filled with a space ( )

Screenshot of quote without an author

Steps to reproduce

Try creating a quote without entering an author. You will get extra space below the quote.

Proposed resolution

If the author field is empty, do not render markup for the author field.

Remaining tasks

- Contact maintainer to check if proposed resolution is worth pursuing.
- Create an MR.

CommentFileSizeAuthor
#2 quote-with-no-author.png399.92 KBmmenavas

Comments

mmenavas created an issue. See original summary.

mmenavas’s picture

Title: Unable to create a quote without author » Creating a quote without author renders unnecessary blank space below the quote
Issue summary: View changes
StatusFileSize
new399.92 KB

- Updated issue tile to improve clarity.
- Improved issue description and added screenshot.