glib-web 0.8.2 → 0.8.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glib-web",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,9 +13,15 @@
13
13
  class="font-weight-bold body-2 subtitle"
14
14
  >{{ spec.title }}</v-card-title
15
15
  >
16
- <div v-if="mode !== 'system'" class="comment-bubble pa-2">
16
+ <!-- eslint-disable vue/no-v-html -->
17
+ <div
18
+ v-if="mode !== 'system'"
19
+ class="comment-bubble pa-2"
20
+ v-html="compiledText"
21
+ >
17
22
  {{ spec.subtitle }}
18
23
  </div>
24
+ <!--eslint-enable-->
19
25
  <img
20
26
  v-if="spec.image"
21
27
  :src="spec.image"
@@ -51,6 +57,11 @@ export default {
51
57
  chips: []
52
58
  };
53
59
  },
60
+ computed: {
61
+ compiledText() {
62
+ return Utils.format.markdown(this.spec.subtitle);
63
+ }
64
+ },
54
65
  methods: {
55
66
  $ready() {
56
67
  const template = this.spec.template;