@@ -9,20 +9,24 @@ import * as Utils from './utils';
9
9
type Extras = {
10
10
reportIDToName ?: Record < string , string > ;
11
11
accountIDToName ?: Record < string , string > ;
12
+
12
13
/**
13
14
* @deprecated Replaced with mediaAttributeCachingFn
14
15
*/
15
16
cacheVideoAttributes ?: ( vidSource : string , attrs : string ) => void ;
17
+
16
18
/**
17
19
* @deprecated Replaced with mediaAttributeCache
18
20
*/
19
21
videoAttributeCache ?: Record < string , string > ;
22
+
20
23
/**
21
24
* Function used to cache HTML tag attributes during conversion to and from Markdown
22
25
* @param mediaSource URI to media source
23
26
* @param attrs Additional attributes to be cached
24
27
*/
25
28
mediaAttributeCachingFn ?: ( mediaSource : string , attrs : string ) => void ;
29
+
26
30
/**
27
31
* Key/value cache for HTML tag attributes, where the key is media source URI, value is cached attributes
28
32
*/
@@ -700,7 +704,7 @@ export default class ExpensiMark {
700
704
regex : / < i m g [ ^ > < ] * s r c \s * = \s * ( [ ' " ] ) ( .* ?) \1( .* ?) > (? ! [ ^ < ] [ \s \S ] * ?( < \/ p r e > | < \/ c o d e > ) ) / gi,
701
705
/**
702
706
* @param extras - The extras object
703
- * @param match - The full match
707
+ * @param _match - The full match
704
708
* @param _g1 - The first capture group (the quote)
705
709
* @param imgSource - The second capture group - src attribute value
706
710
* @param imgAttrs - The third capture group - any attributes after src
0 commit comments