Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-client-windows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
savoirfairelinux
jami-client-windows
Commits
37091c8d
Commit
37091c8d
authored
Nov 18, 2019
by
Ming Rui Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
messagewebview: call replaceText with proper escape characters
Change-Id: I7bfb39a9bae47534f075ee31b9849c76ba8a8da8
parent
a7389fcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
messagewebview.cpp
messagewebview.cpp
+1
-1
No files found.
messagewebview.cpp
View file @
37091c8d
...
...
@@ -208,7 +208,7 @@ bool MessageWebView::eventFilter(QObject *watched, QEvent *event)
void
MessageWebView
::
setMessagesContent
(
const
QString
&
text
)
{
page
()
->
runJavaScript
(
QStringLiteral
(
"replaceText(
'%1');
"
).
arg
(
text
));
page
()
->
runJavaScript
(
QStringLiteral
(
"replaceText(
`%1`)
"
).
arg
(
text
));
}
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment