Last modified: 2014-08-31 18:28:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19926, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17926 - False spaces before and behind inline-geshi-tags
False spaces before and behind inline-geshi-tags
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-11 02:13 UTC by Benjamin Buch
Modified: 2014-08-31 18:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Benjamin Buch 2009-03-11 02:13:49 UTC
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.
Comment 1 Andre Klapper 2014-08-31 18:28:45 UTC
Hi Benjamin! Sorry that nobody has taken a look at this report yet and given feedback.

Example given in comment 0 is still valid and triggers the bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links