Passed
Pull Request — main (#4128)
by David
06:31
created
app/Note.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,8 @@
 block discarded – undo
71 71
         // Obey FORMAT_TEXT option strictly. To restore previous behaviour whereby
72 72
         // text containing markdown tables is always interpreted as markdown
73 73
         // uncomment the end of the next line
74
-        if ($this->tree()->getPreference('FORMAT_TEXT') === 'markdown') { // || preg_match('/\| ? -{3,}/', $text) === 1) {
74
+        if ($this->tree()->getPreference('FORMAT_TEXT') === 'markdown') {
75
+// || preg_match('/\| ? -{3,}/', $text) === 1) {
75 76
             $paragraphs = '';
76 77
             // Split on "\n" except where the line is part of a markdown table (starts and ends with |)
77 78
             $note_paras = preg_split('/(?<!^\|)(?<!\|)\n/', $text);
Please login to merge, or discard this patch.