flinker-markdown 1.1.12 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/esm/md.js +1 -1
  2. package/package.json +1 -1
package/dist/esm/md.js CHANGED
@@ -113,7 +113,7 @@ export class MDGrammar {
113
113
  res += '></video>';
114
114
  return res;
115
115
  };
116
- this.video.matcher = [/\[video:([^\]]+)\]/, videoReplacer];
116
+ this.video.matcher = [/^\[video:([^, \]]+),? *([^\]]*)\]/, videoReplacer];
117
117
  this.stars = new MDLineGrammarRule();
118
118
  this.stars.matcher = [/^(\*{3,})/, '<p class="md-delim">$1</p>'];
119
119
  this.p = new MDLineGrammarRule();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flinker-markdown",
3
3
  "description": "Free TypeScript library for parsing markdown text (customisable, not standardized).",
4
- "version": "1.1.12",
4
+ "version": "1.1.13",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Dittner/FlinkerMD.git"