Skip to content

"align" attribute on images doesn't work. #1583

@IMB11

Description

@IMB11

Describe the bug

The align attribute on images are being removed by the XSS plugin.

Steps to reproduce

Paste the following example into a markdown field:

<div>
<img align="right" width="50%" src="https://cdn.modrinth.com/data/3s19I5jr/images/2146f756a3c5ef7e916e8f3d02e36a1bfa8d19ad.png" />

## The Carousel Screen

The carousel is where all your skins will be stored for future use! You can create, edit and delete your presets.
  
You can customize every preset to your own desire in the edit screen.
<br><br><br><br><br><br>
</div>

<div>
<img align="left" width="50%" src="https://cdn.modrinth.com/data/3s19I5jr/images/2146f756a3c5ef7e916e8f3d02e36a1bfa8d19ad.png" />

## The Edit Screen

The edit screen allows you to change the actual texture of the skin, the model type and the name of the preset.

For the future, there are plans to add cape and ear customization to this screen.

</div>

Expected behavior

The expected visualization is:

image

The Carousel Screen

The carousel is where all your skins will be stored for future use! You can create, edit and delete your presets.

You can customize every preset to your own desire in the edit screen.






The Edit Screen

The edit screen allows you to change the actual texture of the skin, the model type and the name of the preset.

For the future, there are plans to add cape and ear customization to this screen.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions