Fix front matter separator detection on Windows

FIX: When running on Windows, there could be trailing whitespace which makes the == "---" fail