janeway icon indicating copy to clipboard operation
janeway copied to clipboard

Text following <disp-quote> within same <p> is not styled correctly

Open pgoussy opened this issue 1 year ago • 3 comments

Describe the bug If a <disp-quote> is tagged within a <p>, any text within the same <p> that appears after the block quote does not follow the same text styling as standard <p> text. Any text in the same <p> before the block quote is styled normally.

Janeway version 1.4.3

To Reproduce Steps to reproduce the behavior:

  1. Go to https://journals.publishing.umich.edu/mij/plugins/typesetting/preview_galley/article/2357/galley/2473/
  2. Click on "Supportive of Crunch Themes" in the TOC
  3. Scroll down to '"Good" Crunch' subsection heading
  4. See that all text following the block quote is styled differently from text preceding it. All of this subsection, including the <disp-quote, is contained within a single <p>

Screenshots image

Desktop (please complete the following information): Windows 11, Chrome v. 114.0.5735.199 (64-bit)

pgoussy avatar Jul 14 '23 18:07 pgoussy

Bumping this up as I've just realized the same styling error occurs when a <list> appears in the middle of a <p> with plain text on either side. (i.e., the text after the <list> within the same <p> is not spaced correctly)

image

I'm kind of shocked that neither I nor reviewing authors ever noticed this before. Is this a newly-introduced bug in 1.5.0?

pgoussy avatar Jul 26 '23 15:07 pgoussy

Bumping this up again to note that the same styling error occurs when <disp-formula> appears in the middle of a <p> as well.

image

pgoussy avatar Oct 10 '23 19:10 pgoussy

Bumping this up once again to note that the same styling error also occurs when <verse-group> appears in the middle of a <p> with text on either side.

pgoussy avatar May 03 '24 14:05 pgoussy