Tabs are copied wrong from [sourcecode] sections?
-
Hi.
I often use [sourcecode] ShortCode sections (specifically, [sourcecode language="cpp"]).
These come with a nifty feature – when you hover over the section 4 buttons appear at the upper right corner, one of which is ‘copy to clipboard’.
After clicking it and pasting elsewhere, I see that in-source tabs are pasted as ‘ ‘, and not as tab characters.Here’s a post with some code-with-tabs to verify: http://thetweaker.wordpress.com/2011/11/13/reading-monitor-physical-dimensions-or-getting-the-edid-the-right-way/
Is it indeed a WP bug? Does someone have a workaround? even better – can someone from within WP fix it?
thanks!
-Ofekshortcode, the ‘copy’ hover button copies in-source tabs wrong: it pastes them as ‘nbsp;’ .
Here’s a post of mine as an example:
http://thetweaker.wordpress.com/2011/11/13/reading-monitor-physical-dimensions-or-getting-the-edid-the-right-way/
Blog url: http://thetweaker.wordpress.com/The blog I need help with is: (visible only to logged in users)
- The topic ‘Tabs are copied wrong from [sourcecode] sections?’ is closed to new replies.