summaryrefslogtreecommitdiff
path: root/lib/notes/source.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/notes/source.php')
-rw-r--r--lib/notes/source.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/notes/source.php b/lib/notes/source.php
index cecf1c8..d032d33 100644
--- a/lib/notes/source.php
+++ b/lib/notes/source.php
@@ -15,7 +15,7 @@ assert_error($note && ($note['public'] != 0 || $note['owner'] == $user['id']),
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
-<pre><? echo $note['text']; ?></pre>
+<pre><? echo htmlspecialchars($note['text']); ?></pre>
</body>
</html>
<?