Skip to content

Conversation

@somiaj
Copy link
Contributor

@somiaj somiaj commented Dec 27, 2025

Apply the spacing between paragraphs added by the Par block in in HTML to the previous block instead of inserting an empty div with a margin. This adds the margin from the Par block to the previous Indent div (including adding a div around an indent of zero), list, or list item block.

Based on the code from @dpvc in #1355.

Unsure if this should be extended to any other blocks.

@somiaj somiaj force-pushed the pgml-add-par-to-prev-block branch from d914f84 to 8a1ff45 Compare December 27, 2025 01:54
Apply the spacing between paragraphs added by the Par block in
in HTML to the previous block instead of inserting an empty div
with a margin. This adds the margin from the Par block to the
previous Indent div, list, or list item block.

Based on the code from @dpvc in openwebwork#1355.
@somiaj somiaj force-pushed the pgml-add-par-to-prev-block branch from 8a1ff45 to 5743412 Compare December 27, 2025 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant