Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
Not actually caused by this PR
  • Loading branch information
Roelof Roos committed Jul 31, 2020
1 parent 5c71cca commit bb870eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions resources/views/content.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<div class="editor-js-content">
{!! $content !!}
</div>
<div class="editor-js-content">{!! $content !!}</div>
2 changes: 1 addition & 1 deletion src/NovaEditorJs.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static function generateHtmlOutput($jsonData): string
}

return html_entity_decode(
view('vendor.nova-editor-js.content', ['content' => $htmlOutput])->render()
view('nova-editor-js::content', ['content' => $htmlOutput])->render()
);
} catch (EditorJSException $e) {
// process exception
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/html/editorjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ <h4>
Labore voluptatem non omnis aliquam dolore hic dolorum.
</p>
</div>
</div>
</div>

0 comments on commit bb870eb

Please sign in to comment.