client: always forbid MFM overflow
ci/woodpecker/push/lint-foundkey-js Pipeline was successful Details
ci/woodpecker/push/lint-client Pipeline failed Details
ci/woodpecker/push/lint-backend Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/lint-sw Pipeline failed Details
ci/woodpecker/push/test Pipeline failed Details

Some MFM overlays UI components. This should remove any possibility that
rendered MFM escapes a Note's body.

Changelog: Changed
This commit is contained in:
Johann150 2023-06-25 18:41:08 +02:00
parent 1125a623a7
commit ecca5a164e
Signed by: Johann150
GPG Key ID: 9EE6577A2A06F8F1
2 changed files with 2 additions and 1 deletions

View File

@ -175,6 +175,7 @@ withDefaults(defineProps<{
<style lang="scss" scoped>
.havbbuyv {
white-space: pre-wrap;
overflow: hidden;
&.nowrap {
white-space: pre;

View File

@ -334,6 +334,6 @@ export default defineComponent({
}).flat();
// Parse ast to DOM
return h('span', genEl(ast));
return h('div', genEl(ast));
},
});