Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-20 17:02:32 +0300
committerGitHub <noreply@github.com>2021-01-20 17:02:32 +0300
commit01f013661a178ab304d55b217045775ce3e874e1 (patch)
tree92f755f8b793402f765b8d6d3e98815831bd303d /lib
parentaed1fde6fdfe7b450478f2aae138fec214595596 (diff)
Fix typo in comment
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Preview/MarkDown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/MarkDown.php b/lib/private/Preview/MarkDown.php
index 64e734acabe..54648ac1837 100644
--- a/lib/private/Preview/MarkDown.php
+++ b/lib/private/Preview/MarkDown.php
@@ -54,7 +54,7 @@ class MarkDown extends TXT {
$content = preg_replace('/((?!^(\s*-|#)).*)(\w|\\|\.)(\r\n|\n|\r)(\w|\*)/mU', '$1 $3', $content);
- // Remove markdown symbols that we cannot easily represent in renered text in the preview
+ // Remove markdown symbols that we cannot easily represent in rendered text in the preview
$content = preg_replace('/\*\*(.*)\*\*/U', '$1', $content);
$content = preg_replace('/\*(.*)\*/U', '$1', $content);
$content = preg_replace('/\_\_(.*)\_\_/U', '$1', $content);