Skip to content

fix: respect height attribute on images in markdown body#6506

Open
raife-wh wants to merge 1 commit into
modrinth:mainfrom
raife-wh:main
Open

fix: respect height attribute on images in markdown body#6506
raife-wh wants to merge 1 commit into
modrinth:mainfrom
raife-wh:main

Conversation

@raife-wh

Copy link
Copy Markdown
Contributor

Fixes #2194

.markdown-body set height: auto on all images in the markdown body. Changed to respect the height attribute set by the user, and resort to height: auto if no height is set.

@modrinth-bot

Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Markdown ignores height parameter of img tag

2 participants