caddy/middleware/markdown
Zac Bergquist e158cda057 Fix test failures on Windows.
Most of the Windows test failures are due to the path separator not being "/".  The general approach I took here was to keep paths in "URL form" (ie using "/" separators) as much as possible, and only convert to native paths when we attempt to open a file.  This will allow the most consistency between different host OS.  For example, data structures that store paths still store them with "/" delimiters.  Functions that accepted paths as input and return them as outputs still use "/".

There are still a few test failures that need to be sorted out.

- config/setup/TestRoot (I hear this has already been fixed by someone else)
- middleware/basicauth/TestBrowseTemplate and middleware/templates/Test (a line endings issue that I'm still working through)
2015-10-13 19:49:53 -04:00
..
testdata Markdown: generate static sites after links. 2015-08-05 09:55:04 +01:00
generator.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
markdown_test.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
markdown.go markdown: fix race in accessing map 2015-09-11 08:34:52 -07:00
metadata_test.go Metadata variables flattened. 2015-07-28 05:21:09 +01:00
metadata.go Metadata variables flattened. 2015-07-28 05:21:09 +01:00
page.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
process.go Fix test failures on Windows. 2015-10-13 19:49:53 -04:00
renderer.go markdown: Render lists as part of summary (upstream bug workaround) 2015-08-05 07:37:51 -06:00
watcher_test.go Use less strict condition to avoid problems with concurrency 2015-09-11 10:25:13 -07:00
watcher.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00