Skip to content

Commit

Permalink
The statamic:// prefix should be retained for links. Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 28, 2024
1 parent cffe7a5 commit a5b0b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Fieldtypes/BardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public function it_converts_plain_html_into_prosemirror_structure()
'content' => [
['type' => 'text', 'text' => 'Second '],
['type' => 'text', 'text' => 'paragraph', 'marks' => [
['type' => 'link', 'attrs' => ['href' => 'entry::foo']],
['type' => 'link', 'attrs' => ['href' => 'statamic://entry::foo']],
]],
['type' => 'text', 'text' => '. '],
['type' => 'image', 'attrs' => [
Expand Down

0 comments on commit a5b0b82

Please sign in to comment.