1. 02 Aug, 2022 2 commits
  2. 13 Jul, 2022 1 commit
  3. 27 Jul, 2020 2 commits
  4. 25 Jul, 2020 1 commit
  5. 20 Feb, 2020 1 commit
  6. 10 Jan, 2020 4 commits
  7. 08 Jan, 2020 2 commits
  8. 03 Dec, 2019 4 commits
  9. 02 Dec, 2019 2 commits
  10. 29 Nov, 2019 2 commits
  11. 05 Nov, 2019 2 commits
  12. 11 Apr, 2018 2 commits
  13. 30 Jan, 2018 1 commit
  14. 29 Jan, 2018 1 commit
  15. 05 Jan, 2018 1 commit
  16. 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
  17. 02 Jan, 2018 5 commits
  18. 29 Dec, 2017 2 commits
  19. 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
  20. 02 Nov, 2017 3 commits