added html to response
This commit is contained in:
parent
3b9bb25dfe
commit
6021ab6f77
|
|
@ -53,11 +53,11 @@ export default {
|
|||
<div class="issuable-details">
|
||||
<title-component
|
||||
:issuable-ref="currentMergeRequest.iid"
|
||||
:title-html="currentMergeRequest.title"
|
||||
:title-html="currentMergeRequest.title_html"
|
||||
:title-text="currentMergeRequest.title"
|
||||
/>
|
||||
<description-component
|
||||
:description-html="currentMergeRequest.description"
|
||||
:description-html="currentMergeRequest.description_html"
|
||||
:description-text="currentMergeRequest.description"
|
||||
:can-update="false"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -388,6 +388,12 @@ module API
|
|||
expose :id, :iid
|
||||
expose(:project_id) { |entity| entity&.project.try(:id) }
|
||||
expose :title, :description
|
||||
expose :title_html do |entity|
|
||||
MarkupHelper::markdown_field(entity, :title)
|
||||
end
|
||||
expose :description_html do |entity|
|
||||
MarkupHelper::markdown_field(entity, :description)
|
||||
end
|
||||
expose :state, :created_at, :updated_at
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue