[ckan-changes] [ckan/ckan] 8837fa: `render_markdown` breaks links with ampersands

GitHub noreply at github.com
Fri Dec 16 10:13:59 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 8837fa65c83dd47a9911695c18fa8f0c6e6294cc
      https://github.com/ckan/ckan/commit/8837fa65c83dd47a9911695c18fa8f0c6e6294cc
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  `render_markdown` breaks links with ampersands

Added few additional allowed tags to `bleach.clean`
function and changed sanitization sequence so that
markdown applied first and only after that result cleaned


  Commit: bb6b4d051ba86ca3f1c3f2d2bbd24f7dbbb52256
      https://github.com/ckan/ckan/commit/bb6b4d051ba86ca3f1c3f2d2bbd24f7dbbb52256
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  added some tests and src attr to img


  Commit: d250fcf84bc9060d2cd94ba40d1173bd1045cbf9
      https://github.com/ckan/ckan/commit/d250fcf84bc9060d2cd94ba40d1173bd1045cbf9
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  Merge pull request #3364 from smotornyuk/3356-render_markdown-does-not-break-links

`render_markdown` breaks links with ampersands


Compare: https://github.com/ckan/ckan/compare/0512b22e5879...d250fcf84bc9


More information about the ckan-changes mailing list