Edgewall Software

Opened 9 years ago

Last modified 9 years ago

#12023 closed defect

[wiki] wikiprocessor fails to properly render tag attributes with dashes hyphens eg. "data-collapse" — at Initial Version

Reported by: lkraav <leho@…> Owned by:
Priority: normal Milestone: 1.0.6
Component: wiki system Version: 0.12
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to reproduce:

  • [wiki] render_unsafe_content = true
  • edit whatever, type {{{#!div data-collapse=""
  • observe dom changes in inspector

Result:

<div collapse="">

Expected:

<div data-collapse="">

Is this a Genshi bug or some Trac downstream configuration?

PS how do I add to safe_attrs list, so I could enable data-collapse or whatever without enabling full blown render_unsafe_content?

Change History (0)

Note: See TracTickets for help on using tickets.