Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3f784bff
Commit
3f784bff
authored
Jan 18, 2022
by
Markus Koller
Committed by
Andy Soiron
Jan 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments about #strip_markup usage
parent
55a4cc5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
app/models/integrations/chat_message/base_message.rb
app/models/integrations/chat_message/base_message.rb
+5
-0
No files found.
app/models/integrations/chat_message/base_message.rb
View file @
3f784bff
...
@@ -47,16 +47,21 @@ module Integrations
...
@@ -47,16 +47,21 @@ module Integrations
format
(
message
)
format
(
message
)
end
end
# NOTE: Make sure to call `#strip_markup` on any untrusted user input that's added to the
# `title`, `subtitle`, `text`, `fallback`, or `author_name` fields.
def
attachments
def
attachments
raise
NotImplementedError
raise
NotImplementedError
end
end
# NOTE: Make sure to call `#strip_markup` on any untrusted user input that's added to the
# `title`, `subtitle`, `text`, `fallback`, or `author_name` fields.
def
activity
def
activity
raise
NotImplementedError
raise
NotImplementedError
end
end
private
private
# NOTE: Make sure to call `#strip_markup` on any untrusted user input that's added to the string.
def
message
def
message
raise
NotImplementedError
raise
NotImplementedError
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment