aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h
index f65b05a3..28b85a82 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -115,5 +115,10 @@ namespace QMatrixClient
private:
QObject* subscriber;
};
+
+ /** Pretty-prints plain text into HTML
+ * This includes HTML escaping of <,>,",& and URLs linkification.
+ */
+ QString prettyPrint(const QString& plainText);
} // namespace QMatrixClient