2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

bypass table when normalizing.

This commit is contained in:
Sam 2015-07-20 17:25:27 +10:00
parent e3d6c476f5
commit d873e68059

View file

@ -17,6 +17,11 @@ require 'reverse_markdown'
require File.expand_path(File.dirname(__FILE__) + "/base.rb")
require 'htmlentities'
# remove table conversion
[:table,:td,:tr,:th,:thead,:tbody].each do |tag|
ReverseMarkdown::Converters.unregister(tag)
end
class ImportScripts::Lithium < ImportScripts::Base
BATCH_SIZE = 1000