XF 2.3 Why does copying hyperlinks from external sites to my forum show up in html format?

Aaron1981

Member
I copy a hyperlinked text like the one below to my forum:
As social scientists, psychologists aim to understand the behavior of individuals and groups. [3][4]

On my forum, it shows up as this:
As social scientists, psychologists aim to understand the behavior of individuals and groups.<a href="https://en.wikipedia.org/wiki/Psychology#cite_note-Fernald-3"><span>[</span>3<span>]</span></a><a href="https://en.wikipedia.org/wiki/Psychology#cite_note-Psychology-4"><span>[</span>4<span>]</span></a>

I see the hyperlinked text is turned into html format, and I don't remember this happening before. Is there a way to keep the hyperlinked format when copying from an external site? How can I fix this?
 
Testing that link here for you, not sure if you've tried it here, but this is it:


Editing: I followed the link you posted and then copied the link from there, which is what you are seeing above. Not sure how the link you posted equates to where it leads. Strange!
 
Bug report post created...
 
So it's not just the link itself, rather it's the whole block that contains links - if that's the case then what you are copying it the HTML, which is why it's rendering as such. It would be better to copy the text first and then the links separately. I can't say whether the system was capable of separating the two in previous versions, but if you are copying HTML, then HTML is what you will get. Let's see if this qualifies as a bug, as I'd be interested to know how the system will cope with separating HTML code from the text and the links within its parameters.
 
So it's not just the link itself, rather it's the whole block that contains links - if that's the case then what you are copying it the HTML, which is why it's rendering as such. It would be better to copy the text first and then the links separately.
That's what I thought at first. BUT You can paste the whole block from Wikipedia, with links, and it works fine in 2.2.16 and has done for years before that. But not with 2.3, that's where this issue arises.
 
That's what I thought at first. BUT You can paste the whole block from Wikipedia, with links, and it works fine in 2.2.16 and has done for years before that. But not with 2.3, that's where this issue arises.
I've never had to do this, so it was unusual to me how the system could differentiate between text, code and links, but if it worked in a previous iteration, then something must have changed in the current version. I've never had to copy full blocks of text from Wikipedia with links before, but it just seemed strange how those separations were implemented - this is coming from a retired website developer who never came across this before, so it will be interesting to see how this plays out :)
 
I've never had to do this, so it was unusual to me how the system could differentiate between text, code and links, but if it worked in a previous iteration, then something must have changed in the current version. I've never had to copy full blocks of text from Wikipedia with links before, but it just seemed strange how those separations were implemented - this is coming from a retired website developer who never came across this before, so it will be interesting to see how this plays out :)
It’s logged and confirmed as a bug

 
Back
Top Bottom