1. 15 Apr, 2021 1 commit
    • Reinhold Gschweicher's avatar
      IPython KaTeX rendering of comparison operators for markdown · 80384c46
      Reinhold Gschweicher authored
      When rendering IPython notebook markdown cells the formulas are passed
      to Katex. Before that the raw string is passed to marked.js to handle
      HTML forbidden characters. Two of these characters are the
      less-than-operator `<` and the greater-than-operator `>`. These
      characters are often used in math formulas and the replacements `&lt;`
      and `&gt;` are not well received by Katex.
      
      For the tests use async/await syntax, and check length with
      `toHaveLength()` to be more explicit.
      
      Fixes: https://gitlab.com/gitlab-org/gitlab/-/issues/327450
      80384c46
  2. 12 Apr, 2021 28 commits
  3. 11 Apr, 2021 11 commits