GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
  • MediaWiki-Parser
  • (Backlog)
  • good first task

This view

  • Original page
  • New address

GeezerVison is showing phabricator.wikimedia.org — T10393 Allow some HTML tags through to table of contents

Page MenuHomePhabricator
Log In
Create Task
Maniphest T10393

Allow some HTML tags through to table of contents
Closed, ResolvedPublic
Actions

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Related Objects...
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
Assigned To
None
Authored By
• bzimport
Dec 26 2006, 3:38 PM2006-12-26 15:38:00 (UTC+0)
Project Tags
  • MediaWiki-Parser (Backlog)
  • good first task
Referenced Files
None
Subscribers
None

Description

Author: benjamin.ingberg

Description:
I recently edited the wikipedia article about heat death:
http://en.wikipedia.org/wiki/Heat_death_of_the_universe

The edit consisted of me changing all the 10<sup>xx</sup> into 10Exx in the headers. Because the
table of contents changed 10<sup>xx</sup> into 10xx (for example 10<sup>40</sup> looked like
1040).

I suppose the same could be said for subscripts but I haven't tried that.


Version: unspecified
Severity: enhancement

Details

Reference
bz8393

Event Timeline

• bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:33 PM2014-11-21 21:33:19 (UTC+0)
• bzimport added projects: MediaWiki-Parser, good first task.
• bzimport set Reference to bz8393.
• bzimport created this task.Dec 26 2006, 3:38 PM2006-12-26 15:38:00 (UTC+0)
• bzimport added a comment.Dec 26 2006, 5:25 PM2006-12-26 17:25:07 (UTC+0)
Comment Actions

ayg wrote:

HTML tags are currently stripped. It would probably be sensible to make an
exception for <sup> and <sub>, maybe also <s>, <u>, and <del>/<ins>, but then
you start getting into issues of people setting weird styles and getting
non-blue or otherwise weird links. At least <sup> and <sub> should be
whitelisted, because those aren't too uncommon and stripping them results in
flat-out wrong output (e.g., 10^22 -> 1022).

• bzimport added a comment.Aug 29 2007, 12:08 AM2007-08-29 00:08:42 (UTC+0)
Comment Actions

ayg wrote:

Fixed in r25260 for <sup> and <sub>. I left alone behavior for other attributes.

Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.