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

vspace attribute being stripped out #1643

Closed
tavianator opened this issue Jan 31, 2023 · 1 comment
Closed

vspace attribute being stripped out #1643

tavianator opened this issue Jan 31, 2023 · 1 comment

Comments

@tavianator
Copy link

I'm trying to get nicely right-aligned badges beside a heading, like this:

image

However, if I write this:

<div>
<a href="https://github.com/tavianator/bfs/actions/workflows/ci.yml">
<img src="https://github.com/tavianator/bfs/actions/workflows/ci.yml/badge.svg" alt="CI Status" align="right">
</a>
<h1><code>bfs</code></h1>
</div>

it looks like this:

CI Status

bfs

(screenshot, just in case)

image

I tried to tweak it by adding vspace="16" to the <img> tag, but the attribute seems to be stripped out:

CI Status

bfs

Not sure if GitHub is still using html-pipeline, but gjtorikian/html-pipeline#370 removes it from there.

Various old pages (e.g. link, link) list vspace as a supported attribute. Can we bring it back?

Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant