diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-21 19:21:28 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-02 22:19:36 -0500 |
commit | 74751791a8bf27c5576832f73a57a5b110b423ad (patch) | |
tree | 77f820cdfec80249d95f84356750c8e94995d428 /lib/banzai.rb | |
parent | 1fa7671f44291f78131c0fa31f6d1ffcb3ff6bbc (diff) | |
download | gitlab-ce-74751791a8bf27c5576832f73a57a5b110b423ad.tar.gz |
Add a PreProcessPipeline
Diffstat (limited to 'lib/banzai.rb')
-rw-r--r-- | lib/banzai.rb | 4 |
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 |