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:
authorDouwe Maan <douwe@selenight.nl>2019-01-21 20:26:11 +0300
committerDouwe Maan <douwe@selenight.nl>2019-01-25 20:40:36 +0300
commit43005f2df25683ec0473586b461b8a32b4513971 (patch)
treedc3b53056eba77a01adfaaa3950999ca978b6537 /lib/banzai
parent25429c63676bd124a1e89335de8da50bc532cf06 (diff)
Allow suggestions to be copied and pasted as GFM
Supports both suggestions transformed from GFM to HTML and from GFM to HTML to Vue component.
Diffstat (limited to 'lib/banzai')
-rw-r--r--lib/banzai/filter/suggestion_filter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/banzai/filter/suggestion_filter.rb b/lib/banzai/filter/suggestion_filter.rb
index 307ea449140..9950db373d8 100644
--- a/lib/banzai/filter/suggestion_filter.rb
+++ b/lib/banzai/filter/suggestion_filter.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+# Generated HTML is transformed back to GFM by app/assets/javascripts/behaviors/markdown/nodes/code_block.js
module Banzai
module Filter
class SuggestionFilter < HTML::Pipeline::Filter