@adminforth/markdown 1.10.5 → 1.10.7

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.
package/build.log CHANGED
@@ -14,5 +14,5 @@ custom/tsconfig.json
14
14
  custom/utils/
15
15
  custom/utils/monacoMarkdownToggle.ts
16
16
 
17
- sent 45,566 bytes received 180 bytes 91,492.00 bytes/sec
18
- total size is 44,884 speedup is 0.98
17
+ sent 45,789 bytes received 180 bytes 91,938.00 bytes/sec
18
+ total size is 45,107 speedup is 0.98
@@ -1,5 +1,17 @@
1
1
  <template>
2
- <div v-html="purifiedHtml" class="prose"></div>
2
+ <div
3
+ v-html="purifiedHtml"
4
+ class="prose
5
+ prose-p:my-0
6
+ prose-headings:my-0
7
+ prose-ul:my-0
8
+ prose-ol:my-0
9
+ prose-li:my-0
10
+ prose-pre:my-0
11
+ prose-hr:my-1
12
+ leading-tight
13
+ "
14
+ ></div>
3
15
  </template>
4
16
 
5
17
  <script setup lang="ts">
@@ -1,5 +1,17 @@
1
1
  <template>
2
- <div v-html="purifiedHtml" class="prose"></div>
2
+ <div
3
+ v-html="purifiedHtml"
4
+ class="prose
5
+ prose-p:my-0
6
+ prose-headings:my-0
7
+ prose-ul:my-0
8
+ prose-ol:my-0
9
+ prose-li:my-0
10
+ prose-pre:my-0
11
+ prose-hr:my-1
12
+ leading-tight
13
+ "
14
+ ></div>
3
15
  </template>
4
16
 
5
17
  <script setup lang="ts">
package/dist/index.js CHANGED
@@ -170,7 +170,7 @@ export default class MarkdownPlugin extends AdminForthPlugin {
170
170
  if (!key) {
171
171
  return null;
172
172
  }
173
- return key;
173
+ return decodeURIComponent(key);
174
174
  };
175
175
  const upsertMeta = (byKey, key, next) => {
176
176
  var _a, _b;
package/index.ts CHANGED
@@ -188,7 +188,7 @@ export default class MarkdownPlugin extends AdminForthPlugin {
188
188
  if (!key) {
189
189
  return null;
190
190
  }
191
- return key;
191
+ return decodeURIComponent(key);
192
192
  };
193
193
 
194
194
  const upsertMeta = (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/markdown",
3
- "version": "1.10.5",
3
+ "version": "1.10.7",
4
4
  "description": "Markdown plugin for adminforth",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",