More marker changes...

This commit is contained in:
2025-11-07 11:41:35 +01:00
parent 4d95aa7fce
commit 249a31d11a
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ Utils.buildBibliography = async function(recordUri, recordId) {
* to Stimulus links
*/
Utils.parseMarkers = function(text) {
const regex = /(?<marker>\[marker coords=\"(?<coords>[\d\s\.]+)\"\ ?(group=\"(?<group>\w+)\")?](?<content>[\w\s\.;:\-\"\']+)\[\/marker\])/mig;
const regex = /(?<marker>\[marker coords=\"(?<coords>[\d\s\.]+)\"\ ?(group=\"(?<group>\w+)\")?](?<content>[\w\d\s\.;,:\-\(\)\"\']+)\[\/marker\])/mig;
if (!text) return text;