Last modified: 2006-02-02 16:27:56 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 T5959, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3959 - formatting problem with — and –
formatting problem with — and –
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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:

http://en.wikisource.org/wiki/User_talk:Droll#Formatting_Problem

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.


Navigation
Links