Last modified: 2013-09-30 20:33:25 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 T56800, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54800 - Broken html formatting in jqplotchart donut legend
Broken html formatting in jqplotchart donut legend
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-30 20:33 UTC by Alex
Modified: 2013-09-30 20:33 UTC (History)
3 users (show)

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


Attachments

Description Alex 2013-09-30 20:33:25 UTC
Summary: Broken html formatting in jqplotchart donut legend

<nowiki>{{#ask: ... | format = jqplotchart | charttype = donut | theme = simple }}</nowiki>

Hello,
I have used something similar to the above to create [http://wiki.guildwars2.com/wiki/Template:Drop_rate_lookup_table], which mostly displays as intended. However, upon inspection of the html it is generating a formatting line for the legend with the following:

<table class="jqplot-table-legend" style="top: 10px; right: 10px; font-family:; font-size: 8.93px; position: absolute;" 102);margin-top:10px;margin-bottom:0px;margin-left:0px;margin-right:10px;"="" 102,="" ms",arial,helvetica,sans-serif;color:rgb(102,="" trebuchet="">

...whereas it should be writing something like:

<table class="jqplot-table-legend" style="top: 10px; right: 10px; font-family:'trebuchet ms',arial,helvetica,sans-serif; font-size: 8.93px; position: absolute; margin: 10px 10px 0 0; color:rgb(102,102,102);">

(I suspect the problem comes from the quotes around "trebuchet ms"). This ends up dropping a lot of the formatting for the legend.

Thanks, Alex.

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


Navigation
Links