jekyll-crosspost-to-medium
jekyll-crosspost-to-medium copied to clipboard
Liquid error: undefined method `safe’ for nil:NilClass
I'm getting the following error when I try to export a post with a code block:
Liquid error: undefined method `safe’ for nil:NilClass
This isn't erroring in the terminal, but is instead spitting the error inside the generated Medium post.
I'm adding my code blocks in like so:
{% highlight html %}
<h1>Hello World!</h1>
{% endhighlight %}
It gets parsed fine and generates on my site okay, but it spits that error in place of the code on the Medium post.
I think the issue may be liquid tags within templates, but I am not sure. Looking into it as it relates to a bug report on another project regarding the include tag.
I kept having Ruby/Jekyll issues when upgrading my Mac, so I have moved off of Jekyll and will not be working on this project anymore, going forward. I am going to flag this as won’t fix, but leave it open in case someone else wants to pick up the project from here.