diff --git a/_plugins/tabbedCode_generator.rb b/_plugins/tabbedCode_generator.rb index 764bd59..230cd47 100644 --- a/_plugins/tabbedCode_generator.rb +++ b/_plugins/tabbedCode_generator.rb @@ -39,6 +39,8 @@ def createTabbedCode(page, content) indexes.push(first_index) block = encode_liquid(content[first_index..last_index + @tabbed_code_marker_length]) block = @converter.convert(block) + # remove empty space when generating tabbed snippet in a list + block.gsub!(/\/pre>\n\n
\n"
 
 				first_index = content.index(tab_start, last_index)