Page MenuHomePhabricator

<tt> tag ends formatting early
Closed, InvalidPublic

Description

Author: foxyshadis

Description:
When <tt> is used in multiline, formatting seems to end one word too early.

Example at:

https://secure.wikimedia.org/wikipedia/en/wiki/Help:Wiki_markup#Text_formatting

Scroll down to Typewriter font section.


Version: unspecified
Severity: minor

Details

Reference
bz29930

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:32 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz29930.
bzimport added a subscriber: Unknown Object (MLST).

<tt> is an inline element and should not extend beyond a paragraph ending -- that bit of the documentation should be removed so people don't think it's mean to work!

Tidy's nesting cleanup seems to have made it 'work' in this case precisely as described though... I don't see anything ending "one word too early" -- the words "started here" which are explicitly not meant to be in monospace are not in monospace.

What exactly seems to be the issue?

foxyshadis wrote:

Sorry, I looked at the page on a system that uses different fonts, and I realized that I was wrong all along; the "paragraph" section just looked non-monospace because the fonts were too similar! It's one of those funny words that all letters are approximately the same width anyway.

I feel sheepish now, sorry about that.