mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:31:11 +08:00
FIX: HtmlToMarkdown
didn't support tfoot
in tables
This commit is contained in:

committed by
Gerhard Schlager

parent
52e81582b4
commit
b01905c724
@ -220,7 +220,7 @@ class HtmlToMarkdown
|
||||
"\n\n#{traverse(node)}\n\n"
|
||||
end
|
||||
|
||||
TRAVERSABLES ||= %w[aside font span thead tbody tfooter u]
|
||||
TRAVERSABLES ||= %w[aside font span thead tbody tfoot u]
|
||||
TRAVERSABLES.each { |tag| define_method("visit_#{tag}") { |node| traverse(node) } }
|
||||
|
||||
def visit_tt(node)
|
||||
|
Reference in New Issue
Block a user