aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-23 20:57:21 +0300
committerHenry Jameson <me@hjkos.com>2021-08-23 20:57:21 +0300
commit39494439d359fa058079c9325efdff244a7e7890 (patch)
treebbb70feea5018844645ffc3635a0cd5c1316f65e /test
parentc3576211cbbf9ada109c0869dcf4e4fc7b3ef925 (diff)
very minimalist hashtaglink implementation, also you can middle-click
mentions now.
Diffstat (limited to 'test')
-rw-r--r--test/unit/specs/components/rich_content.spec.js8
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('')