lib/reveal-ck/markdown/post_processor.rb in reveal-ck-3.8.0 vs lib/reveal-ck/markdown/post_processor.rb in reveal-ck-3.8.1

- old
+ new

@@ -41,15 +41,17 @@ end def replace_if_start_with(old, new) old = "#{old}\n" return unless doc.start_with?(old) + @doc = doc[old.size, doc.size - 1] @doc = "#{new}\n#{doc}" end def replace_if_end_with(old, new) return unless doc.end_with? old + @doc = doc[0, doc.size - 1 - old.size] @doc = "#{doc}\n#{new}\n" end def transform_symbols_to_sections