Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-02-22 03:21:28 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-03-03 06:19:36 +0300
commit74751791a8bf27c5576832f73a57a5b110b423ad (patch)
tree77f820cdfec80249d95f84356750c8e94995d428 /lib/banzai.rb
parent1fa7671f44291f78131c0fa31f6d1ffcb3ff6bbc (diff)
Add a PreProcessPipeline
Diffstat (limited to 'lib/banzai.rb')
-rw-r--r--lib/banzai.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/banzai.rb b/lib/banzai.rb
index 093382261ae..b467413a7dd 100644
--- a/lib/banzai.rb
+++ b/lib/banzai.rb
@@ -7,6 +7,10 @@ module Banzai
Renderer.render_result(text, context)
end
+ def self.pre_process(text, context)
+ Renderer.pre_process(text, context)
+ end
+
def self.post_process(html, context)
Renderer.post_process(html, context)
end