1. 27 Jul, 2020 2 commits
  2. 25 Jul, 2020 1 commit
  3. 20 Feb, 2020 1 commit
  4. 10 Jan, 2020 4 commits
  5. 08 Jan, 2020 2 commits
  6. 03 Dec, 2019 4 commits
  7. 02 Dec, 2019 2 commits
  8. 29 Nov, 2019 2 commits
  9. 05 Nov, 2019 2 commits
  10. 11 Apr, 2018 2 commits
  11. 30 Jan, 2018 1 commit
  12. 29 Jan, 2018 1 commit
  13. 05 Jan, 2018 1 commit
  14. 04 Jan, 2018 1 commit
    • Yorick Peterse's avatar
      Strip leading/trailing whitespace from CSS exprs · 886a160c
      Yorick Peterse authored
      When tokenising CSS expressions we now strip leading and trailing
      whitespace from the input string. This is performed without any checks
      as a check + `String#strip` ended up being slower compared to just
      running `String#strip`. On top of that we cache expressions anyway, so
      the overhead of `String#strip` is very small.
      
      Fixes #187
      886a160c
  15. 02 Jan, 2018 5 commits
  16. 29 Dec, 2017 2 commits
  17. 28 Dec, 2017 1 commit
    • Yorick Peterse's avatar
      Ignore nested element start tags · f574197e
      Yorick Peterse authored
      This ensures that Oga is able to tokenize input such as the following:
      
          <script<script>foo</script>
      
      Oga will now treat this as:
      
          <script>foo</script>
      
      This is based on libxml behaviour, which seems to differ a bit from
      Chromium which treats the node as a text node. This however would
      require complex look-ahead logic (as far as I can tell) that I really
      don't want to implement in Oga.
      
      Fixes #186
      f574197e
  18. 02 Nov, 2017 6 commits