callout remove title
This commit is contained in:
parent
2ecd06ece9
commit
facb44e198
@ -15,6 +15,11 @@
|
||||
type = match[1]?.trim();
|
||||
title = match[2]?.trim() ?? '';
|
||||
}
|
||||
// Remove title from content
|
||||
const pos = titleElement.innerHTML.indexOf('<br>');
|
||||
if (pos >= 0) {
|
||||
titleElement.innerHTML = titleElement.innerHTML.substring(pos + 4);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user