Skip to content

Conversation

@garthdw
Copy link
Contributor

@garthdw garthdw commented Feb 1, 2026

Fixes obsidium/v/2.0.0 package readme

image Left is old, right is new

Fixes obsidium/v/2.0.0 package readme
@vercel
Copy link

vercel bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 1, 2026 1:23pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 1, 2026 1:23pm
npmx-lunaria Ignored Ignored Feb 1, 2026 1:23pm

Request Review

const ALLOWED_ATTR: Record<string, string[]> = {
a: ['href', 'title', 'target', 'rel'],
img: ['src', 'alt', 'title', 'width', 'height'],
img: ['src', 'alt', 'title', 'width', 'height', 'align', 'style'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

style can cause quite a lot of chaos so im not too sure about this

i feel like we should have an allow list of CSS properties within style instead of allowing everything

Copy link
Member

Choose a reason for hiding this comment

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

agreed! github would be an example to copy here

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.

3 participants