MDL-56252 message: clean message text in message area
Remove the HTML tags from any message in the message area when updating the last message on the contact otherwise the styling breaks and also allows <script> tags to be added to the page.
This commit is contained in:
@@ -465,6 +465,8 @@
|
||||
position: relative;
|
||||
|
||||
.text {
|
||||
display: block;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -6190,6 +6190,9 @@ a.ygtvspacer:hover {
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
}
|
||||
.messaging-area-container .messaging-area .messages-area .messages .message .content .text {
|
||||
display: block;
|
||||
}
|
||||
.messaging-area-container .messaging-area .messages-area .messages .message .content .text p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user