Skip to content

Commit f0983dc

Browse files
author
Simeon F. Willbanks
committed
Textile Filter does require RedCloth
1 parent c25c890 commit f0983dc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/html-pipeline

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ else
5454
case name
5555
when "Text"
5656
raise NameError # Text filter doesn't work, no call method
57-
when "Textile"
58-
require "RedCloth" # Textile filter doesn't require RedCloth
5957
end
6058

6159
HTML::Pipeline.const_get("#{name}Filter")
@@ -77,4 +75,4 @@ context = {
7775
:gfm => true
7876
}
7977

80-
puts HTML::Pipeline.new(filters, context).call(ARGF.read)[:output]
78+
puts HTML::Pipeline.new(filters, context).call(ARGF.read)[:output]

0 commit comments

Comments
 (0)