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:
parent
e3d6c476f5
commit
d873e68059
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue