parent
cdb99cbe78
commit
2112361fef
|
@ -121,7 +121,7 @@
|
||||||
// hydrate hashtag
|
// hydrate hashtag
|
||||||
if (tags && anchor.classList.contains('hashtag')) {
|
if (tags && anchor.classList.contains('hashtag')) {
|
||||||
for (const tag of tags) {
|
for (const tag of tags) {
|
||||||
if (anchor.getAttribute('href').endsWith(`/tags/${tag.name}`)) {
|
if (anchor.getAttribute('href').toLowerCase().endsWith(`/tags/${tag.name.toLowerCase()}`)) {
|
||||||
anchor.setAttribute('href', `/tags/${tag.name}`)
|
anchor.setAttribute('href', `/tags/${tag.name}`)
|
||||||
anchor.setAttribute('id', `status-content-link-${uuid}-${++count}`)
|
anchor.setAttribute('id', `status-content-link-${uuid}-${++count}`)
|
||||||
anchor.removeAttribute('target')
|
anchor.removeAttribute('target')
|
||||||
|
|
Loading…
Reference in New Issue