Browse Source

Fix linebreaks in Elixir code blocks

Jasper van Merle 7 years ago
parent
commit
93dfb6a6ae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/docs/filters/elixir/clean_html.rb

+ 1 - 0
lib/docs/filters/elixir/clean_html.rb

@@ -59,6 +59,7 @@ module Docs
 
         css('pre').each do |node|
           node['data-language'] = 'elixir'
+          node.content = node.content
         end
       end
     end