Last modified: 2006-02-02 16:27:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3959 - formatting problem with — and –
formatting problem with — and –
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-11-14 02:13 UTC by Dave Roll
Modified: 2006-02-02 16:27 UTC (History)
0 users

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


Description Dave Roll 2005-11-14 02:13:53 UTC
If you examine the following phrase:

"jealous of the praise which had been—perhaps undeservedly—
bestowed on his (Mr. Pickwick’s) researches"

If this phrase is examined in a rendered article such as:

You can notice a space before the word 'bestowed' but not before the word
'perhaps'. Then, if you examine the article (or this message) in an edit window
you will notice that there is no space before the word 'bestowed'.  There is,
however, a single line break.  The phrase is from The Pickwick Papers: Chapter 1
on Wikisource. My background is in Computer Science and it is my opinion that
the unintended space is an artifact of the software that creates the HTML page.
 If I am correct then this problem will exist everywhere on Wikisource and not
just in this one article.

I notice that when the software which creates HTML code parses text it stripes
single line breaks and parses two or more line breaks as a paragraph break. 
Some articles I have examined on Wikisource do not have single line breaks but
do contain pairs of line breaks.  This is an artifact of the source (provenance)
of the article and the way the source has been formatted.  In the case of the
articles sourced from Project Gutenberg (witch is a public domain source) the
text is formatted with single breaks (line breaks) as well as pairs of breaks
(paragraph breaks).  This is the kind of text that the software does not parse
correctly.  I have not experimented to see if other characters are effected in
this way.

I know this might seem to be nit picking but it's my nature.  I doubt this is a
problem within the scope of the Wikisource community.  I'm note sure this is
correct form.  Please advise me
Comment 1 Brion Vibber 2005-11-16 22:41:06 UTC
It's because you have a line break, which is whitespace.

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