-
- Downloads
Merge branch 'code-blocks-vue-pre' into 'master'
Adds v-pre to code blocks in comments ## What does this MR do? Allows users to comment on discussions with code that contains `{{` Previously because of the discussion part being a Vue app it was being converted by Vue & therefore creating JS errors & the code not displaying correctly. This adds `v-pre` onto the code element to allow the user to write code that would contain `{{` ## What are the relevant issue numbers? Closes #22911 See merge request !6674
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- lib/banzai/filter/sanitization_filter.rb 1 addition, 1 deletionlib/banzai/filter/sanitization_filter.rb
- lib/banzai/filter/syntax_highlight_filter.rb 1 addition, 1 deletionlib/banzai/filter/syntax_highlight_filter.rb
- spec/features/notes_on_merge_requests_spec.rb 12 additions, 0 deletionsspec/features/notes_on_merge_requests_spec.rb
- spec/lib/banzai/filter/syntax_highlight_filter_spec.rb 4 additions, 4 deletionsspec/lib/banzai/filter/syntax_highlight_filter_spec.rb
Loading
Please register or sign in to comment