diff options
| author | Henry Jameson <me@hjkos.com> | 2021-08-23 20:57:21 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-08-23 20:57:21 +0300 |
| commit | 39494439d359fa058079c9325efdff244a7e7890 (patch) | |
| tree | bbb70feea5018844645ffc3635a0cd5c1316f65e /test/unit/specs/components | |
| parent | c3576211cbbf9ada109c0869dcf4e4fc7b3ef925 (diff) | |
very minimalist hashtaglink implementation, also you can middle-click
mentions now.
Diffstat (limited to 'test/unit/specs/components')
| -rw-r--r-- | test/unit/specs/components/rich_content.spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/specs/components/rich_content.spec.js b/test/unit/specs/components/rich_content.spec.js index b29edeab..f6c478a9 100644 --- a/test/unit/specs/components/rich_content.spec.js +++ b/test/unit/specs/components/rich_content.spec.js @@ -300,10 +300,10 @@ describe('RichContent', () => { '<p>', '<a href="http://macrochan.org/images/N/H/NHCMDUXJPPZ6M3Z2CQ6D2EBRSWGE7MZY.jpg" target="_blank">', 'NHCMDUXJPPZ6M3Z2CQ6D2EBRSWGE7MZY.jpg</a>', - ' <a class="hashtag" data-tag="nou" href="https://shitposter.club/tag/nou" target="_blank">', - '#nou</a>', - ' <a class="hashtag" data-tag="screencap" href="https://shitposter.club/tag/screencap" target="_blank">', - '#screencap</a>', + ' <hashtaglink-stub url="https://shitposter.club/tag/nou" content="#nou" tag="nou">', + '</hashtaglink-stub>', + ' <hashtaglink-stub url="https://shitposter.club/tag/screencap" content="#screencap" tag="screencap">', + '</hashtaglink-stub>', ' </p>' ].join('') |
