Passed
Pull Request — master (#23)
by Michael
02:09
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 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
         $linkForm->addTextInput('linktarget', 'Link target')->attrs(
Please login to merge, or discard this patch.