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

       Web browser: ---
             Bug #: 38797
           Summary: Whitespace between syntax of table or heading and
                    percent sign is converted to a non-breaking space
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: foma...@googlemail.com
    Classification: Unclassified
   Mobile Platform: ---


The following wiki code

{| class="wikitable"
|-
| A
| %
|}
== A ==
== % ==

is converted to the following HTML:

<table class="wikitable">
<tbody><tr>
<td>A</td>
<td>&nbsp;%</td>
</tr>
</tbody></table>
<h2> <span id="A" class="mw-headline">A</span></h2>
<h2> <span id=".25" class="mw-headline">&nbsp;%</span></h2>

Expected result:

<table class="wikitable">
<tbody><tr>
<td>A</td>
<td>%</td>
</tr>
</tbody></table>
<h2> <span id="A" class="mw-headline">A</span></h2>
<h2> <span id=".25" class="mw-headline">%</span></h2>

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to