Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: MarkDown Html (#2839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame authored Oct 18, 2024
1 parent eb6afbc commit c1acb0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/ADempiere/ReportViewerEngine/dialog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<script>
import store from '@/store'
import language from '@/lang'
import marked from 'marked'
import { defineComponent, computed, ref, nextTick } from '@vue/composition-api'
import { isEmptyValue } from '@/utils/ADempiere/valueUtils'
import { config } from '@/utils/ADempiere/config'
Expand Down Expand Up @@ -469,13 +469,14 @@ export default defineComponent({
markdownContent.value = markdownContent.value.replace('www.123892138.com', link)
}
linkShare.value = link
const htmlContent = marked(markdownContent.value)
store.dispatch('sendNotification', {
user_id,
title: titleDocument.value,
recipients: contactSend.value,
notification_type: typeNotify.value,
attachments: fileNameResource,
subject: markdownContent.value
subject: htmlContent
})
})
.finally(() => {
Expand Down

0 comments on commit c1acb0e

Please sign in to comment.