mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-10-29 12:12:36 +01:00
super awesome mega-fix with unintended awesome collateral-fixes
* markdown supported in chat * by proxy, paragraphs are *also* supported in chat now * AND EVEN PROXIER, the issue with emoji not showing properly is fixed
This commit is contained in:
@@ -29,6 +29,11 @@
|
||||
.own-message
|
||||
border-left: 4px solid #333
|
||||
padding-left: 2px
|
||||
|
||||
markdown
|
||||
|
||||
p:first-child
|
||||
display:inline
|
||||
|
||||
// Name tags
|
||||
.label-contributor-1, .label-contributor-2
|
||||
|
||||
@@ -2,7 +2,7 @@ li(ng-repeat='message in group.chat', ng-class='{highlight: isUserMentioned(user
|
||||
a.label.chat-message(class='label-contributor-{{message.contributor.level}}', ng-class='{"label-npc": message.backer.npc}', ng-click='clickMember(message.uuid, true)')
|
||||
span(tooltip='{{contribText(message.contributor, message.backer)}}') {{message.user}}
|
||||
|
|
||||
span(ng-bind-html="message.text | linky:'_blank'")
|
||||
markdown(ng-model='message.text')
|
||||
| -
|
||||
span.muted.time(from-now='message.timestamp')
|
||||
a(ng-show='user.contributor.admin || message.uuid == user.id', ng-click='deleteChatMessage(group, message)')
|
||||
|
||||
Reference in New Issue
Block a user