summaryrefslogtreecommitdiff
path: root/lib/notes
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-06-20 22:29:00 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-06-20 22:29:00 +0200
commit5abf9dc5c437c3c0dc3408c3a583106fa6babcc2 (patch)
tree62fbce00283d176481c3c55f19cfa1cad227ce55 /lib/notes
parent42ab8ff48ca96d39bff5486a009fabb302e8ada5 (diff)
downloadBits-5abf9dc5c437c3c0dc3408c3a583106fa6babcc2.tar.gz
Bits-5abf9dc5c437c3c0dc3408c3a583106fa6babcc2.zip
minor bugfixes
Diffstat (limited to 'lib/notes')
-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>
<?