Odd copy/pasting behavior for search results resulting in H2/every word italicized

frm

Well-known member
Affected version
XF/XF 2.3.3
If you search and then copy and paste a match, every word in the text in it is wrapped in [I][/I] BB Code as well as a heading 2.

Example search:

Copy and paste Warning Improvements by Xon as a link into the editor.

Warning Improvements by Xon


1730029022779.webp

It doesn't seem to be the issue when you copy/paste from What's new (1) view or from node view (2).

Warning Improvements by Xon

Warning Improvements by Xon

Only from search results:

disable embedded threads?


It throws the formatting of what you're writing off and could be problematic if character limits are in place as I can remove the heading, but the italics remain:
Not exact match:
Warning Improvements by Xon

Exact match:
Warning Improvements by Xon
1730029892442.webp
I can understand why the non-exact match has the two words in italics, but if the words are together, it should wrap Warning Improvements in [I][/I] and not each word of the exact match of the entire query. The heading 2, I can't explain because nowhere else do you find it carrying over (What's new/node view).
 
Back
Top Bottom