Reporter | Solomon Ucko (dhDZsG9QfQK3VTiF5KOs) |
---|---|
Created | Dec 17, 2018 12:55:20 AM |
Updated | Dec 27, 2018 7:08:06 PM |
Resolved | Dec 27, 2018 7:08:06 PM |
State | Fixed |
Assignee | Evgeny Naumenko (jk) |
Subsystem | Markdown |
Type | Bug |
Priority | Normal |
Browser | Chrome |
OS | Windows 7 |
Fix versions | 2018.4.next |
Affected versions | 2018.3 |
In the (generated?) CSS:
.wiki.common-markdown blockquote {
border-left: 2px solid #b8d1e5;
border-left: 2px solid var(--ring-icon-color);
padding-left: 1em;
margin: 0; /* Causes issue #1 */
display: inline-block; /* Causes issue #2 */
}
Issue #1 (120 total printables in the result):
Blockquotes are displayed with margin: 0;
, causing them to display as a single, contiguous blockquote. (They should be 2 separate blockquotes in this case to allow for both options to be chosen; see https://spec.commonmark.org/0.28/#example-205.)
Markdown:
> 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> 0
HTML:
<blockquote>
<p>0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567</p>
</blockquote>
<blockquote>
<p>0</p>
</blockquote>
Result:
01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
0
Issue #2 (119 total printables in the result):
Adjacent blockquotes that are short enough to be displayed on the same line are, due to the display: inline-block;
. (They should be displayed on 2 separate lines; this just looks weird.)
Markdown:
> 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
> 0
HTML:
<blockquote>
<p>0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567</p>
</blockquote>
<blockquote>
<p>0</p>
</blockquote>
Result:
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
0