forked from github/pelican
Markdown.convert() returns early, without running any preprocessors, if source.strip() is empty. Before, Pelican would raise AttributeError in this case; now, it logs a more friendly error: ERROR: Skipping ./foo.md: could not find information about 'NameError: title' which is more consistent with the error from empty .rst files: ERROR: Skipping ./foo.rst: could not find information about 'NameError: date' |
||
|---|---|---|
| .. | ||
| tests | ||
| themes | ||
| tools | ||
| __init__.py | ||
| cache.py | ||
| contents.py | ||
| generators.py | ||
| log.py | ||
| paginator.py | ||
| readers.py | ||
| rstdirectives.py | ||
| server.py | ||
| settings.py | ||
| signals.py | ||
| urlwrappers.py | ||
| utils.py | ||
| writers.py | ||