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

Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #12 from Brion Vibber <[email protected]> 2011-09-30 23:34:46 UTC 
---
Culprit found in proofread.js; a bunch of HTML structure is generated in manual
string concatenation, including the textareas:

    container.innerHTML = '' +
        '<div id="prp_header" style="">' +
        '<span style="color:gray;font-size:80%;line-height:100%;">' +
        escapeQuotesHTML( mediaWiki.msg( 'proofreadpage_header' ) ) + '</span>'
+
        '<textarea name="wpHeaderTextbox" rows="2" cols="80" tabindex=1>' +
escapeQuotesHTML( pageHeader ) + '</textarea><br />' +
        '<span style="color:gray;font-size:80%;line-height:100%;">' +
        escapeQuotesHTML( mediaWiki.msg( 'proofreadpage_body' ) ) +
'</span></div>' +
        '<textarea name="wpTextbox1" id="wpTextbox1" tabindex=1 style="height:'
+ ( self.DisplayHeight - 6 ) + 'px;">' +
            escapeQuotesHTML( pageBody ) + '</textarea>' +
        '<div id="prp_footer" style="">' +
        '<span style="color:gray;font-size:80%;line-height:100%;">' +
        escapeQuotesHTML( mediaWiki.msg( 'proofreadpage_footer' ) ) +
'</span><br />' +
        '<textarea name="wpFooterTextbox" rows="2" cols="80" tabindex=1>' +
        escapeQuotesHTML( pageFooter ) + '</textarea></div>';

Adding \ns after the opening <textarea> tags resolves it.

Fixed on trunk in r98583.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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