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

Appearance settings

Some boolean attributes/properties with weird behavior #2809

Copy link
Copy link
@pygy

Description

@pygy
Issue body actions

Edit: The original title was "Rendering m([spellcheck=false]) results in <div spellcheck="true">", but there are more issues, see below.

As mentioned in MithrilJS/docs#20 by @anonghuser, m([spellcheck=false]) results in <div spellcheck="true">, it should obviously be false.

I don't know if this should be fixed though. In scenarios where you want it not set, statically, you can omit the attribute. For dynamic scenarios the attrs object is a better method.

Metadata

Metadata

Assignees

Labels

Area: CoreFor anything dealing with Mithril core itselfFor anything dealing with Mithril core itselfType: BugFor bugs and any other unexpected breakageFor bugs and any other unexpected breakage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.