juusaw / amp-jekyll

Build Accelerated Mobile Page versions of your Jekyll posts
MIT License
281 stars 59 forks source link

(#9) support liquid inside markdownify content #11

Closed ntwcklng closed 7 years ago

ntwcklng commented 8 years ago

This closes #9

juusaw commented 7 years ago

Hi there!

This seems to break syntax highlighted code blocks. I get a Liquid error: undefined method 'safe' for nil:NilClass instead of the markup for every block. Can be reproduced by for example adding the following to a blog post

{% highlight ruby %}
puts 'test'
{% endhighlight %}
ntwcklng commented 7 years ago

Unfortunately i didn't find a solution yet, do you have an idea?

juusaw commented 7 years ago

Fixed by #14

juusaw commented 7 years ago

Accidentally closed without merging. Will merge now, since #14 fixes the comment block problem.