1

I am trying to edit this answer, but after edited, while posting my edit, I am getting:

Body cannot contain "http://bit.ly/18SuUzJ"

And yeah! I know that should be replaced by the exact link, but the main point of that answer/question also is to use a shorted link. Not exactly a shorted link, but just a redirection link. And redirection is usually done in a shorted link, so I believe the OP used a shorted link.

A possible solution I know is:

Change that link to some other link that uses a redirect.

But I am asking a question here just to know if there are other possible way to solve this problem?

Update:

I tried doing this, which solved the problem, but what about syntax highlighting?

7
  • @AbdulAzizBarkat what about Syntax highlighting? I used <!-- language-all: lang-python --> but didn't worked!
    – imxitiz
    Aug 22, 2021 at 7:39
  • Seems to be working for me, though (it might take some time for the highlighter to do it's work after you add the comment)? You used <pre><code> right? The answer seems to only say to use <pre>. Aug 22, 2021 at 7:44
  • @AbdulAzizBarkat Used <code> and it seems working fine. :) I had already edited the question, and mentioned about Syntax highlighting, so. I believe you can answer this question with complete answer?
    – imxitiz
    Aug 22, 2021 at 7:50
  • Here's a tip though, if you just want a redirecting link replace it with https://stackoverflow.com/users/current/ (leads to current users profile, or the homepage for anonymous users) ;). I won't answer as it is already answered in the duplicate, yes? Aug 22, 2021 at 7:52
  • @AbdulAzizBarkat Yes, but after last edit, I don't think it answered completely. In that duplicate question, there is not mentioned about Syntax highlighting, and I had already edited this question to ask about that. I will remember that, but I won't use that for this edit. :)
    – imxitiz
    Aug 22, 2021 at 7:55
  • 1
    You missed the missing indefinite article and URL. Aug 22, 2021 at 10:48
  • @PeterMortensen Actually I am not a native English speaker, and I have found that these are common mistakes. :P Anyway thankyou for the edit. :)
    – imxitiz
    Aug 22, 2021 at 13:30

0

Browse other questions tagged .