1. 01 12月, 2015 3 次提交
  2. 19 11月, 2015 2 次提交
  3. 13 11月, 2015 2 次提交
  4. 28 10月, 2015 2 次提交
  5. 18 10月, 2015 2 次提交
  6. 23 9月, 2015 1 次提交
  7. 17 8月, 2015 2 次提交
  8. 04 8月, 2015 2 次提交
  9. 02 8月, 2015 2 次提交
  10. 28 7月, 2015 2 次提交
  11. 17 6月, 2015 2 次提交
  12. 13 6月, 2015 2 次提交
  13. 12 6月, 2015 4 次提交
  14. 11 6月, 2015 4 次提交
  15. 01 6月, 2015 1 次提交
  16. 31 5月, 2015 4 次提交
  17. 17 5月, 2015 1 次提交
  18. 11 5月, 2015 2 次提交
    • Anthony Sottile's avatar
      Merge pull request #58 from dupuy/markdown-trailing-whitespace · a00c16b8
      Anthony Sottile 创作于
      Implement Markdown trailing space line break preservation
      a00c16b8
    • Alexander Dupuy's avatar
      Implement Markdown trailing space line break preservation · a6023ac0
      Alexander Dupuy 创作于
      Markdown uses two or more trailing spaces on a line to indicate a forced
      line break `<br/>` - these will be preserved for files with a markdown
      extension (default = `.md` or `.markdown`).
      
      Add `--markdown-linebreak-ext=X,Y` to add extensions (`*` matches any),
      and `--no-markdown-linebreak-ext` to disable this feature.
      
      If you want to set specific extension `foo` only (and not md/markdown),
      use `--no-markdown-linebreak-ext --markdown-linebreak-ext=foo`
      
      Tries to prevent --markdown-linebreak-ext from eating filenames as if they were
      extensions by rejecting any with '.' or '/' (or even Windows-style '\' or ':')
      
      Update README.md to include information on these arguments as well as
      arguments added to other hooks
      
      Add extensive tests using pytest.mark.parametrize
      
      test that `txt` file is not considered as 'txt' extension
      test that `.txt` file is not considered as 'txt' extension
      
      The latter is the (correct) behavior of os.path.splitext(), and an example
      of why it is better to use the libraries than to mangle strings yourself.
      a6023ac0