https://bugzilla.wikimedia.org/show_bug.cgi?id=17926

           Summary: False spaces before and behind inline-geshi-tags
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: parser
          Severity: normal
          Priority: Normal
         Component: SyntaxHighlight (GeSHi)
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Space before geshi is not correct.

<pre>
Wikitext
text<source enclose="none" lang="cpp">geshi</source>text

HTML
<p>text <span class="cpp source-cpp">geshi</span>text</p>
</pre>

----

This is okay.

<pre>
Wikitext
text <source enclose="none" lang="cpp">geshi</source> text

HTML
<p>text <span class="cpp source-cpp">geshi</span> text</p>
</pre>

----

Spaces behind geshi get lost and the space before the span-tag is false again.

<pre>
Wikitext
text<source enclose="none" lang="cpp">     geshi     </source>text

HTML
<p>text <span class="cpp source-cpp">&amp;#160; &amp;#160;
&amp;#160;geshi</span>text</p>
</pre>

[http://de.wikibooks.org/w/index.php?title=Wikibooks:Spielwiese&oldid=439821
Here] you find the examples in use.


-- 
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

Reply via email to