walokra / markdown-page-generator-plugin

Markdown to HTML Page Generator Maven Plugin
MIT License
57 stars 48 forks source link

Fix for title null pointer #11

Closed Molez closed 9 years ago

Molez commented 9 years ago

This request contains the following changes

Done basic testing on this. It fixes the original issue I had that spawned this change.

Molez commented 9 years ago

I have added another change to the pull request. Folder depth was being calculated by counting "/" however this not platform independent and so it fails to calculate properly on windows. Replaced "/" with File.separator, this should allow it to be platform independent.

Molez commented 9 years ago

Netbeans re-formatted my code so commits 916cf74 and 09e2f69 are a bit messy. My local merge of the feature branch at commit 9603825 shows the changes properly. Sorry about that.