fix: some activities not rendering correctly

This commit is contained in:
shariquerik 2021-08-02 13:41:07 +05:30
parent 887fe2bb8a
commit 11cdb9f030

View file

@ -152,6 +152,7 @@ function get_version_comment(version_doc, text) {
let unlinked_content = "";
try {
text += '</>';
Array.from($(text)).forEach(element => {
if ($(element).is('a')) {
version_comment += unlinked_content ? frappe.utils.get_form_link('Version', version_doc.name, true, unlinked_content) : "";