Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sanitize_css sort of ignores allowed_css_properties #317

Open
Labels
@willkg

Description

@willkg

elifprop.split('-')[0].lower()in ['background','border','margin',

Thatelif section essentially means that those four style properties get allowed regardless ofallowed_css_properties value.

For example, this text:

<p>blah</p>

with thisallowed_css_properties:

['color']

gives this:

<p>blah</p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp