diff --git a/server/api/models/event.js b/server/api/models/event.js
index 8b395e0a..a1355d3a 100644
--- a/server/api/models/event.js
+++ b/server/api/models/event.js
@@ -40,16 +40,15 @@ module.exports = (sequelize, DataTypes) => {
}
Event.prototype.toNoteAP = function (username, follower = []) {
- const tags = this.tags && this.tags.map(t => t.tag.replace(/[ #]/g, ' '))
+ const tags = this.tags && this.tags.map(t => t.tag.replace(/[ #]/g, '_'))
const tag_links = tags.map(t => {
return `#${t}`
}).join(' ')
- // @todo: each instance support different note's length
const content = `${this.title}
📍 ${this.place.name}
📅 ${moment.unix(this.start_datetime).format('dddd, D MMMM (HH:mm)')}
- ${this.description.length > 200 ? this.description.substr(0, 200) + '...' : this.description}
+ ${this.description.length > 300 ? this.description.substr(0, 300) + '...' : this.description}
${tag_links}
`
const attachment = []