Site Issues Training Log & Site Support » Links in editor messed up Rss Feed  
Moderators: Ron Reply
2017-12-05 10:14 AM

User image

Master
6530
5000100050025
Raleigh, NC area
Subject: Links in editor messed up

When I add a link to a post or message, BT seems to be reformatting them after they are created. What I mean is, I put the link in, check it in Tools > Source Code. The HTML looks to be correct, I post it and all kinds of crazy happens.

Yeah, I see that BT helpfully added stuff to the link. Let's see if this works better:   https://www.strava.com/activities/1118929438

 

3100 climbing feet.

Looks correct and yet, when I post it, this is what happens to the link

https://www.strava.com/activities/1118929438%3C/p%3E%3Cp%3EHere's

In fact, that is happening in this very post. There was a PRE before/after the example and the editor is "fixing" it for me.



2017-12-05 10:31 AM
in reply to: jmkizer

User image

Master
1872
10005001001001002525
Columbus, Ohio
Gold member
Subject: RE: Links in editor messed up
Thanks.
Let me see what happens if I put something in.

OK, here's a link that I put in with no code. www.google.com

And then here's what happens if I type in the HTML myself Link

How are you adding the link? By copy/paste?

Here's what happens if I copy/paste:

https://www.google.com/

2017-12-05 10:32 AM
in reply to: alicefoeller

User image

Master
1872
10005001001001002525
Columbus, Ohio
Gold member
Subject: RE: Links in editor messed up
So, this is all working OK for me.

That extra stuff that's being added is text formatting. Maybe there's some text formatting at Strava or wherever you are pasting from that's being carried over?

If you copy and paste the link from a browser, it seems to work fine.

Can you also try Control-Shift-V to paste? This will remove the formatting as you paste and maybe fix it?
2017-12-05 12:16 PM
in reply to: alicefoeller

User image

Master
6530
5000100050025
Raleigh, NC area
Subject: RE: Links in editor messed up

Originally posted by alicefoeller So, this is all working OK for me. That extra stuff that's being added is text formatting. Maybe there's some text formatting at Strava or wherever you are pasting from that's being carried over? If you copy and paste the link from a browser, it seems to work fine. Can you also try Control-Shift-V to paste? This will remove the formatting as you paste and maybe fix it?

If the source code does not have the extra formatting, where is it coming from? And I did copy/paste the link from the address bar in my browser (Firefox).

2017-12-06 2:11 PM
in reply to: 0

User image

Expert
2884
2000500100100100252525
Middle River, Maryland
Bronze member
Subject: RE: Links in editor messed up

Testing this out:

https://www.trainerroad.com/cycling/rides/7029047-mont-gosford

 

EDIT:  it worked fine for me.  It's also working in the individual workouts over the training log.

 

 



Edited by jmhpsu93 2017-12-06 2:13 PM
2017-12-06 3:13 PM
in reply to: jmkizer

User image

Master
1872
10005001001001002525
Columbus, Ohio
Gold member
Subject: RE: Links in editor messed up
I don't see anywhere on BT (either in forums or Training log or Blog It) where you can even view the source code, so I'm having a hard time following what you are saying is happening.

You copy a link from your browser's URL bar, then you come to BT and hit paste. OK, got it.
But when you say you checked the source code, where are you looking at that? The article submission tool is the only place I can find where there's an HTML editor or source code tab. Maybe you can send a screenshot so I can understand what you mean?



2017-12-06 3:13 PM
in reply to: jmhpsu93

User image

Master
1872
10005001001001002525
Columbus, Ohio
Gold member
Subject: RE: Links in editor messed up
Originally posted by jmhpsu93

Testing this out:

https://www.trainerroad.com/cycling/rides/7029047-mont-gosford

 

EDIT:  it worked fine for me.  It's also working in the individual workouts over the training log.

 

 




Thanks!
2017-12-06 3:59 PM
in reply to: alicefoeller

User image

Master
6530
5000100050025
Raleigh, NC area
Subject: RE: Links in editor messed up

Originally posted by alicefoeller I don't see anywhere on BT (either in forums or Training log or Blog It) where you can even view the source code, so I'm having a hard time following what you are saying is happening. You copy a link from your browser's URL bar, then you come to BT and hit paste. OK, got it. But when you say you checked the source code, where are you looking at that? The article submission tool is the only place I can find where there's an HTML editor or source code tab. Maybe you can send a screenshot so I can understand what you mean?

Tools > Source Code

2017-12-10 8:14 PM
in reply to: jmkizer

User image

Master
1872
10005001001001002525
Columbus, Ohio
Gold member
Subject: RE: Links in editor messed up
So you are viewing the source code in your browser.
OK.

The crazy code you are seeing below is what happens if you put a space into an HTML link.

If you copy and paste the link from a browser, it seems to work fine.

Can you also try Control-Shift-V to paste? This will remove the formatting as you paste and maybe fix it?
2017-12-11 3:50 AM
in reply to: alicefoeller

User image

Master
6530
5000100050025
Raleigh, NC area
Subject: RE: Links in editor messed up

Originally posted by alicefoeller So you are viewing the source code in your browser. OK. The crazy code you are seeing below is what happens if you put a space into an HTML link. If you copy and paste the link from a browser, it seems to work fine. Can you also try Control-Shift-V to paste? This will remove the formatting as you paste and maybe fix it?

If the source code looks correct, why is it being reformatted?

2017-12-11 11:38 PM
in reply to: jmkizer

User image

Master
1872
10005001001001002525
Columbus, Ohio
Gold member
Subject: RE: Links in editor messed up
Maybe you are copying a space in there by accident? The code your showing me is a link that includes a space. (Links can't have spaces, so it puts the percent sign and some other stuff instead.)

Can you see if it happens in another browser? Because I can't make it happen and no one else has complained of the same problem, I don't think it's a BT problem.


New Thread
Site Issues Training Log & Site Support » Links in editor messed up Rss Feed