Skip to content

Выносит <pre> из <p> #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2020
Merged

Conversation

nikolai-shabalin
Copy link
Contributor

@nikolai-shabalin nikolai-shabalin commented Dec 9, 2020

К сожалению, <p> ждёт фразовый контент, а <pre> таковым не является.

Появляется небольшой сдвиг по вертикали в 20px. Это как раз всё из-за того, что <pre> вынесен из <p>. Параграфы имеют вертикальные отступы.

image

Если критично, то могу добавить пару <br> для быстрофикса.

Copy link

@AntonovIgor AntonovIgor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nikolai-shabalin nikolai-shabalin merged commit 41b341a into master Dec 10, 2020
@nikolai-shabalin nikolai-shabalin deleted the fix/javascript-markup branch December 10, 2020 12:09
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.

2 participants