Skip to content
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

Fix indentation bug with verbatim in tags #1312

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Conversation

jonludlam
Copy link
Member

closes #1139

Copy link
Collaborator

@panglesd panglesd left a comment

Choose a reason for hiding this comment

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

Although this "works", we are going to hit the same bug when we add new constructs (eg admonitions).

I'm not a fan of this negative margin... I would prefer to simply remove it for tags.

(I was surprised why tables are not affected by this, it turns out that text-indent: initial is part of the user agent's table styling in major browsers. Again, a bit brittle!)

@jonludlam
Copy link
Member Author

Right, we can look into fixing this in a more sustainable way, but for now this does fix a problem, so in it goes!

@jonludlam jonludlam merged commit a5ac62b into ocaml:master Feb 20, 2025
8 of 11 checks passed
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.

Weird indentation for verbatim blocks within tags
2 participants