Skip to content
Snippets Groups Projects
Commit 73127f0e authored by HJ's avatar HJ :fire:
Browse files

fix empty spaces again

parent 9ea37003
Branches
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
white-space: normal;
display: inline-block;
color: var(--link);
margin-right: 0.25em;
& .new,
& .original {
......@@ -12,7 +11,7 @@
}
.original {
opacity: 0.5;
margin-right: 0.25em;
}
.full {
......@@ -39,6 +38,8 @@
}
.new {
margin-right: 0.25em;
&.-you {
& .shortName,
& .full {
......
......@@ -46,8 +46,8 @@ export default Vue.component('RichContent', {
const processItem = (item) => {
// Handle text noes - just add emoji
if (typeof item === 'string') {
const emptyText = item.trim()
if (!emptyText) {
const emptyText = item.trim() === ''
if (emptyText) {
return encounteredText ? item : item.trim()
}
let unescapedItem = unescape(item)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment