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

dana <lav.c...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |lav.c...@gmail.com
         Resolution|WORKSFORME                  |

--- Comment #3 from dana <lav.c...@gmail.com> 2011-01-05 02:35:03 UTC ---
I don't know if this was working in 1.12 through 1.15, but i am definitely
experiencing this problem in 1.16.


Steps to reproduce:

1. Create new article, edit existing article, whatever.

2. In body of article, create a simple definition list using the HTML syntax
(not the colons and semicolons). Something like the following:

<dl>
<dt>test 1</dt>
<dd>test test test test test</dd>
<dt>test 2</dt>
<dd>test test test test test</dd>
</dl>

3. Save article.


Expected results:

The code above should appear more or less verbatim in the final article source.


Actual results:

The final article source (as seen in View > Source) looks like this:

<dl>

<dt>test 1&lt;/dt&gt;
<dd>test test test test test&lt;/dd&gt;
<dt>test 2&lt;/dt&gt;
<dd>test test test test test&lt;/dd&gt;
</dl>

As you can see, it insists on converting the closing tags to plain text, which
results in '</dt>' and so on appearing in the rendered article. White space
doesn't seem to come into it (for example i can put everything on one line and
the same issue occurs).

This problem also seems to affect the closing tags of other HTML elements
*inside* more advanced DLs. For instance, i have a DL that contains
<div><code>...</code></div>, and the closing tags for the code/div elements are
rendered similarly to the above.

I have reproduced this on two different MediaWiki installations on DreamHost;
one has a few extensions/modifications installed, but the other is pretty much
vanilla (all extensions disabled, no core files modified, no fancy settings in
place).

Product Version
MediaWiki 1.16.0
PHP 5.2.15 (cgi-fcgi)
MySQL 5.1.39-log

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