replaced pandoc with a nokogiri based pseudo solution