More marker changes...
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user