https://bugzilla.wikimedia.org/show_bug.cgi?id=28546
Bug #: 28546
Summary: FCKeditor tampers GeSHi code
Product: MediaWiki extensions
Version: any
Platform: PC
OS/Version: Windows 7
Status: NEW
Severity: critical
Priority: Low
Component: FCKeditor
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
After I past the source below at WikiText mode of FCKEditor,
<syntaxhighlight lang="php">
<?php
$v = "string"; // sample initialization
?>
html text
<?
echo $v; // end of php code
?>
</syntaxhighlight>
then I switch to Rich Text mode, everything just changed to:
<div style="text-align: left" dir="ltr" class="mw-geshi"><div class="php
source-php"><pre class="de1">
<span class="kw2"><?php</span>
<span class="re0">$v</span> <span class="sy0">=</span> <span
class="st0">"string"</span><span class="sy0">;</span> <span class="co1">//
sample initialization</span>
<span class="sy1">?></span>
html text
<span class="sy1"><?</span>
<span class="kw1">echo</span> <span class="re0">$v</span><span
class="sy0">;</span> <span class="co1">// end of php code</span>
<span class="sy1">?></span></pre></div></div>
Although it brings a nicely looking dot-lined box, but it does not have any
high-lighted color, and the code turns into a big bunch of mess.
Is there any way to add the box, preserve the highlight color, and the code
just remain as it is?
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l