Passed
Push — master ( 57e849...66e16b )
by Michael
02:16
created
action/ajax.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,6 +122,6 @@
 block discarded – undo
122 122
         if ($inner[0] === '#') {
123 123
             return dokuwiki\plugin\prosemirror\parser\LocalLinkNode::resolveLocalLink($inner, $curId);
124 124
         }
125
-       return \dokuwiki\plugin\prosemirror\parser\InternalLinkNode::resolveLink($inner, $curId);
125
+        return \dokuwiki\plugin\prosemirror\parser\InternalLinkNode::resolveLink($inner, $curId);
126 126
     }
127 127
 }
Please login to merge, or discard this patch.
action/editor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 
47 47
         /** @var Doku_Form $form */
48
-        $form =& $event->data;
48
+        $form = & $event->data;
49 49
         $useWYSIWYG = get_doku_pref('plugin_prosemirror_useWYSIWYG', false);
50 50
 
51 51
         if (!$useWYSIWYG) {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         global $TEXT;
60 60
         $instructions = p_get_instructions($TEXT);
61 61
         try {
62
-            $prosemirrorJSON =  p_render('prosemirror', $instructions, $info);
62
+            $prosemirrorJSON = p_render('prosemirror', $instructions, $info);
63 63
         } catch (Throwable $e) {
64 64
             $errorMsg = 'Rendering the page\'s syntax for the WYSIWYG editor failed';
65 65
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 
86 86
         // output data and editor field
87
-        $form->addHidden('prosemirror_json',$prosemirrorJSON);
87
+        $form->addHidden('prosemirror_json', $prosemirrorJSON);
88 88
         $form->insertElement(1, '<div class="prosemirror_wrapper" id="prosemirror__editor"></div>');
89 89
     }
90 90
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             'id' => 'prosemirror-linkform',
110 110
             'style' => 'display: none;',
111 111
         ]);
112
-        $linkForm->addFieldsetOpen('Links')->addClass('js-link-fieldset');;
112
+        $linkForm->addFieldsetOpen('Links')->addClass('js-link-fieldset'); ;
113 113
         $iwOptions = array_keys(getInterwiki());
114 114
         $linkForm->addDropdown('iwshortcut', $iwOptions, 'InterWiki')->attr('required', 'required');
115 115
 
Please login to merge, or discard this patch.
lang/en/lang.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 // $lang['menu'] = 'Your menu entry';
10 10
 
11 11
 // custom language strings for the plugin
12
- $lang['preview_and_syntax'] = 'Preview and use Syntax-Editor';
13
- $lang['preview_and_wysiwyg'] = 'Preview and use WYSIWYG-Editor';
12
+    $lang['preview_and_syntax'] = 'Preview and use Syntax-Editor';
13
+    $lang['preview_and_wysiwyg'] = 'Preview and use WYSIWYG-Editor';
14 14
 $lang['js']['code_block_hint'] = '
Please login to merge, or discard this patch.