Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: gettalong/kramdown
base: REL_2_2_1
Choose a base ref
head repository: gettalong/kramdown
compare: REL_2_3_0
Choose a head ref
  • 15 commits
  • 22 files changed
  • 3 contributors

Commits on Apr 30, 2020

  1. Fix typo

    doersino authored and gettalong committed Apr 30, 2020
  2. Optimize hash access by safe-navigating Hash#dig (#654)

    * Optimize hash access by safe-navigating `Hash#dig`
    ashmaroli committed Apr 30, 2020
  3. Optimize preparation of options for Rouge (#655)

    * Optimize preparation of options for Rouge
    ashmaroli committed Apr 30, 2020

Commits on May 3, 2020

  1. Allow more characters in header IDs

    The current version only allows characters as defined by HTML4. However,
    HTML5 allows any characters to be in an ID. Since allowing any character
    might not play well with the XML syntax of HTML5, extend the allowed
    character set to the full set allowed by XML.
    gettalong committed May 3, 2020
  2. Fix problem on 2.3 with recent changes to syntax highlighter rouge

    nil.dup only works starting from Ruby 2.4
    gettalong committed May 3, 2020

Commits on May 7, 2020

  1. Use instance variable for cache to avoid thread safety issues

    The DISPATCHER constant represents global state and a thread safety
    issues on Ruby implementations without GIL.
    
    Removing the dispatcher in favour of direct handling is slower. So the
    best option is to store the dispatcher hash in an instance variable.
    
    See GH#663 for a detailed discussion.
    gettalong committed May 7, 2020
  2. Remove parsing of XML processing instructions for kramdown documents

    Processing instructions were valid in HTML4 but are not in HTML5.
    
    So ignore them when parsing a kramdown documenter. There is most
    probably only a negligible amount of documents using processing
    instructions but those WILL GET BROKEN.
    gettalong committed May 7, 2020

Commits on May 9, 2020

Commits on Jun 27, 2020

  1. Add option forbidden_inline_options

    It is sometimes necessary to restrict the options that can be set
    inline, ie. using the {::options ...} extensions.
    
    By default, the template option is now forbidden to avoid possible
    security problems. This addresses CVE-2020-14001.
    gettalong committed Jun 27, 2020

Commits on Jun 28, 2020