Skip to content

Commit

Permalink
Merge pull request #15 from fanlan1210/new_design
Browse files Browse the repository at this point in the history
fix description typo in agenda page
  • Loading branch information
rschiang authored May 8, 2024
2 parents 7102c7e + 463c595 commit 379f7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/js/agenda.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $('.agenda-session[data-id]').on('click', function (e) {
`)
})
$('.agenda-speaker', bodyTmplDom).append('<hr>')
$('.agenda-description', bodyTmplDom).html(marked.parse(session[currentLang]['description']))
$('.agenda-description', bodyTmplDom).html(marked.parse(session[currentLang]['description'], { breaks: true }))
$('#modal .head-group h4').text(session[currentLang]['title'])
let tagGroup = $('.tag-group', this)
$('#modal .tag-group').html(tagGroup.clone().removeClass('hidden'))
Expand Down

0 comments on commit 379f7da

Please sign in to comment.