Just to help anyone who also has this issue.
I went into the extension and edited SyntaxHighlight_GeSHi.class.php
Around line 80 is where it outputs the code.
I added this
$out = str_replace(' ', '', $out);
Just to force a removal of the . (In some text editors, if you
copy code from it, the code will be broken with them in it).
-Adam
On Jun 12, 2009, at 11:00 AM, Adam Meyer wrote:
> Thanks, but it didnt work.
> I am able to narrow it down to the extension though.
>
> I entered a bunch of code in a pre tag and it copied with out them.
> But then I modified the SyntaxHighlighter to parse pre tags as well,
> and then the same unchanged code in the pre tag that was just fine,
> now has them in it at every empty line
>
>
> -Adam
>
> On Jun 11, 2009, at 5:57 PM, Platonides wrote:
>
>> Adam Meyer wrote:
>>> Just wondering. Im running 2 wikis with the SyntaxHighlight
>>> extension.
>>> After I insert code in the wiki and save it.. When I copy the
>>> highlighted code from it, it has (obviously cant see them, I
>>> can paste it in a program that shows them.) at all the page breaks.
>>> But if I use or copy that same syntax place it in the mediawiki.org
>>> sandbox and save it, it does not have them.
>>>
>>> Any Ideas?
>>>
>>> Thanks,
>>> -Adam
>>
>> They could be different versions of MediaWiki / SyntaxHighlight.
>> Or perhaps tidy (used at mediawiki.org) is silently removing them.
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l