@commonpub/layer 0.3.4 → 0.3.6

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": "@commonpub/layer",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "files": [
@@ -45,14 +45,14 @@
45
45
  "vue-router": "^4.3.0",
46
46
  "zod": "^4.3.6",
47
47
  "@commonpub/auth": "0.5.0",
48
+ "@commonpub/config": "0.7.0",
49
+ "@commonpub/docs": "0.5.2",
48
50
  "@commonpub/editor": "0.5.0",
49
51
  "@commonpub/learning": "0.5.0",
50
52
  "@commonpub/protocol": "0.9.4",
51
- "@commonpub/config": "0.7.0",
52
- "@commonpub/schema": "0.8.8",
53
+ "@commonpub/server": "2.7.0",
53
54
  "@commonpub/ui": "0.7.1",
54
- "@commonpub/docs": "0.5.0",
55
- "@commonpub/server": "2.7.0"
55
+ "@commonpub/schema": "0.8.8"
56
56
  },
57
57
  "scripts": {}
58
58
  }
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import { sanitizeHtml } from '@commonpub/docs';
3
2
  import type { TocEntry } from '@commonpub/docs';
4
3
 
5
4
  const route = useRoute();
@@ -302,7 +301,7 @@ useSeoMeta({
302
301
  <h1 class="docs-page-title">{{ renderedPage.title }}</h1>
303
302
 
304
303
  <!-- Rendered Content -->
305
- <div class="docs-content cpub-prose" v-html="sanitizeHtml(renderedPage.html)" />
304
+ <div class="docs-content cpub-prose" v-html="renderedPage.html" />
306
305
 
307
306
  <!-- Prev / Next -->
308
307
  <div class="docs-prev-next" v-if="prevNextLinks.prev || prevNextLinks.next">
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import { sanitizeHtml } from '@commonpub/docs';
3
2
  import type { Serialized, LearningPathDetail } from '@commonpub/server';
4
3
 
5
4
  interface LessonResponse {
@@ -223,7 +222,7 @@ const isOwner = computed(() => user.value?.id === path.value?.author?.id);
223
222
  </div>
224
223
 
225
224
  <!-- ARTICLE / TEXT content -->
226
- <div v-if="renderedHtml" class="lesson-content cpub-prose" v-html="sanitizeHtml(renderedHtml)" />
225
+ <div v-if="renderedHtml" class="lesson-content cpub-prose" v-html="renderedHtml" />
227
226
 
228
227
  <!-- View original link for linked content -->
229
228
  <div v-if="lessonData?.linkedContent" class="lesson-linked-source">