mirror of
https://github.com/mue/mue.git
synced 2026-06-12 03:28:46 +02:00
fix: some quotes have newlines at the end
This commit is contained in:
@@ -262,7 +262,7 @@ export default class Quote extends PureComponent {
|
||||
const authorimgdata = await this.getAuthorImg(data.author);
|
||||
|
||||
const object = {
|
||||
quote: '"' + data.quote + '"',
|
||||
quote: '"' + data.quote.replace(/\s+$/g, '') + '"',
|
||||
author: data.author,
|
||||
authorlink: this.getAuthorLink(data.author),
|
||||
authorimg: authorimgdata.authorimg,
|
||||
|
||||
Reference in New Issue
Block a user