You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
Just installed pretzel 0.2.0.42 from chocolatey and went to make a new razor site and got an error
C:\site>pretzel create -t=razor
starting pretzel...
create - configure a new site
Using razor Engine
Pretzel site template has been created
C:\site>pretzel bake
starting pretzel...
bake - transforming content into a website
Recommended engine for directory: 'razor'
Failed to render template, falling back to direct content
done - took 5808ms
C:\site>
Not sure which template it is actually failing on as most of the site seems to have been generated.
The text was updated successfully, but these errors were encountered:
It looks like in SiteConextGenerator.cs there is this code:
html = Path.GetExtension(file).IsMarkdownFile()
? CommonMark.CommonMarkConverter.Convert(contentsWithoutHeader).Trim()
: contentsWithoutHeader;
the html generated by CommonMark.CommonMarkConvert.Convert is not valid for a razor template. It contains html entities like > that cause the razor engine to fail.
Works when built from master branch (5df3cfa). You guys should either release a new version or at least update the docs to reflect that 0.2.0.42 isn't a good version. I was already moving to the master branch because I found it fixed issue #199 which is a pretty big deal too if you ask me.
Just installed pretzel 0.2.0.42 from chocolatey and went to make a new razor site and got an error
Not sure which template it is actually failing on as most of the site seems to have been generated.
The text was updated successfully, but these errors were encountered: