DEV Community

Discussion on: Be Aware of the !-- script Bug

Collapse
 
jayjeckel profile image
Jay Jeckel • Edited

Something here seems to have messed up the article's feed card. The estimated read time and the save button are missing and instead there is a link to the article with weird text, the word "in" prefixed with a back tick, a quote character, and a space.
screen cap of the issue

I don't know how you did it, but Bobby Tables would be proud.

EDIT: Ah, I see it now. Having the commented script tag in the title is the issue and the extra link's weird text is the title's text between the script tags. Someone should definitely file an issue about this.

Collapse
 
grahamthedev profile image
GrahamTheDev

I can't replicate this, is it device specific or is it a particular part of the site (specific feed item)?

Collapse
 
labnan profile image
Labnan • Edited

I changed the title, since it was causing an issue
The issue could be seen at dev.to/latest

This event was an accident though. I was just telling people about about handling input strings that are shown in a page and the title bugged.

Thread Thread
 
grahamthedev profile image
GrahamTheDev

Can't replicate it, how strange!

Thread Thread
 
labnan profile image
Labnan

I have internet shortage right now so I can not test locally.

I will try replicating it locally and let you know exact steps when the internet problem is fixed, if you want. :)

I have never worked with forem repo before. It will be fun!

Collapse
 
labnan profile image
Labnan • Edited

wow! I did not think it would create issue in this website.

For me it looks ok though.
Image

Edit:
I found it!
image