gampleman / elm-example-publisher

Make a beautiful website from your Elm examples
MIT License
18 stars 2 forks source link

Bugfixes and added log messages #3

Closed Orasund closed 4 years ago

Orasund commented 5 years ago

I've found the problem explained in #2. Javascript is trying to match a \n newline and apparently my files are formatted differently. I used https://regex101.com/ to test the pattern and there it can find the match. So the fix I propose is to just ignore the \n part - there is no real reason why it is needed. With this fix my examples work now.

gampleman commented 4 years ago

Sorry, I've massively refactored the whole codebase, so not sure this still applies? I'll close it and we can re-open if you still think this is applicable.