fix: 🐛 fix description bug
This commit is contained in:
parent
7efb0327d4
commit
53543a259f
@ -10,7 +10,7 @@ export default {
|
|||||||
name: 'SafeHtml',
|
name: 'SafeHtml',
|
||||||
directives: {
|
directives: {
|
||||||
sanitize: {
|
sanitize: {
|
||||||
inserted(el, binding) {
|
mounted(el, binding) {
|
||||||
el.innerHTML = dompurify.sanitize(
|
el.innerHTML = dompurify.sanitize(
|
||||||
linkifyHtml(binding.value, {
|
linkifyHtml(binding.value, {
|
||||||
nl2br: true,
|
nl2br: true,
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
||||||
import Discover from './views/Discover.vue'
|
import Discover from './views/Discover.vue'
|
||||||
import Feed from './views/Feed.vue'
|
import Feed from './views/Feed.vue'
|
||||||
import { generateUrl } from '@nextcloud/router'
|
import { generateUrl } from '@nextcloud/router'
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(generateUrl('apps/repod')),
|
history: createWebHashHistory(generateUrl('apps/repod')),
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
|
Loading…
Reference in New Issue
Block a user