Ticket #156 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Whitelist for html in mark-down field

Reported by: dread Owned by: johnbywater
Priority: major Milestone: v1.0
Component: ckan Keywords:
Cc: Repository:
Theme:

Description (last modified by dread) (diff)

Not just links that need to be displayed. Other html should be displayed too, such as tables which can't be represented in markdown. Do a search of the existing fields to see what is needed.

Change History

comment:1 Changed 5 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Done in cset:8a29d5351650

comment:2 Changed 4 years ago by dread

  • Status changed from closed to reopened
  • Resolution fixed deleted

Looks like it was taking out a lot of stuff.

comment:3 Changed 4 years ago by dread

  • Status changed from reopened to closed
  • Resolution set to fixed

Sorted display of <links> by converting them to markdown format [links] (links) in cset:9c3e64104cbf

comment:4 Changed 4 years ago by dread

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Description modified (diff)

comment:5 Changed 4 years ago by dread

comment:6 Changed 4 years ago by dread

comment:7 Changed 4 years ago by dread

  • Summary changed from Ensure security of mark-down field to Whitelist for html in mark-down field

comment:8 Changed 4 years ago by dread

  • Owner changed from dread to johnbywater
  • Status changed from reopened to new

comment:9 Changed 4 years ago by johnbywater

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by encoding elements before and decoding elements after passing text through Markdown engine.

Note: See TracTickets for help on using tickets.