Last modified: 2006-05-20 20:59:51 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 T4015, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2015 - Add "\sim" to ~ conversion for HTML rendering
Add "\sim" to ~ conversion for HTML rendering
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-29 02:19 UTC by Colin Burnett
Modified: 2006-05-20 20:59 UTC (History)
0 users

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


Attachments

Description Colin Burnett 2005-04-29 02:19:16 UTC
Currently, if I enter <math>x \sim N(\mu, \sigma^2)</math> then it is forced to
render as PNG because \sim won't convert to a tilde for HTML rendering.
Comment 1 Antoine "hashar" Musso (WMF) 2006-05-20 20:54:28 UTC
According to http://www.w3.org/TR/REC-html40/sgml/entities.html

There is a sim entity:

<!ENTITY sim  CDATA "&#8764;"
-- tilde operator = varies with = similar to,
                  U+223C ISOtech -->

but in firefox it looks really different. I used &tilde; instead
and commited that in trunk as r14314
Comment 2 Antoine "hashar" Musso (WMF) 2006-05-20 20:59:51 UTC
live site updated.

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


Navigation
Links