Bug regarding copying code from within <code> tags.
Confirmed, although solved by use of Copy Plain Text, which is my own default for most copying from the Web.SeanM wrote:@Giorgio : When I clicked "Select All" on each of the entries, then copied and pasted, each entry was preceded with four (4) spaces (which were subsequently removed). I had not noticed this earlier.
(Note: This add-on is most compatible with Fx 2.x. Extended Copy Menu is better for Fx 3+. Bug and cure confirmed for both browsers with the respective Plain Text copy add-ons.)
Select All > Edit > Copy = [[....addEventListener('DOMContentLoaded',function(){ad_utils.render_ad=function(w)
{w.location=w.location.href.replace(/.*\bTRAILER=([^&]+).*/,'$1')}},true)]]
(I added the double square brackets to make the WYSIWYG content and leading spaces more apparent, and the .... because the forum sw was eliminating all white space beyond a single space.))
Select All > Edit > Copy as Plain Text =
[[addEventListener('DOMContentLoaded',function(){ad_utils.render_ad=function(w)
{w.location=w.location.href.replace(/.*\bTRAILER=([^&]+).*/,'$1')}},true)]]
No leading spaces using either of the Copy as Plain Text methods. Perhaps this should be reported to PHP?
Does anyone here know of a fix that can be implemented locally, or know whether PHPbb Group is aware of this issue?