mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
bypass table when normalizing.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user