File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,14 @@ export class BaseCommentItem extends LitElement {
121121 }
122122 </ div>
123123
124- <div class= "item-content mt-2.5 space-y-2.5 content" >
125- <slot name= "pre-content" > </ slot> ${ unsafeHTML (
126- sanitizeHtml ( this . content , {
127- allowedAttributes : {
128- ...sanitizeHtml . defaults . allowedAttributes ,
129- code : [ 'class' ] ,
130- } ,
131- } )
132- ) }
124+ <div class= "item-content mt-2.5 space-y-2.5 content" > <slot name= "pre-content" > </ slot> ${ unsafeHTML (
125+ sanitizeHtml ( this . content , {
126+ allowedAttributes : {
127+ ...sanitizeHtml . defaults . allowedAttributes ,
128+ code : [ 'class' ] ,
129+ } ,
130+ } )
131+ ) }
133132 </ div>
134133
135134 <div class= "item-actions mt-2 flex items-center gap-3" >
Original file line number Diff line number Diff line change 11.content {
22 word-wrap : break-word;
3+ white-space : pre-wrap;
34 @apply text-text-1 text-sm leading-relaxed;
45}
56
You can’t perform that action at this time.
0 commit comments