Last modified: 2014-01-12 12:51:21 UTC
To be able to keep the original line breaks of a text in the source code, it is necessary to remove the space that is usually added if a newline starts, when having a (soft) hyphen at the end of the line. Otherwise "twenty- three" instead of "twenty-three" and "Wiki pedia" instead of "Wikipedia" (with soft hyphen) is displayed. This enhancement would be useful especially for Wikisource, where the line breaks of an original text could be kept in the source and so the original formating of the text could be displayed. This would also make proof reading much easier.
To clarify it: If you have an original text like this: Dies ist ein Beispieltext, der nur Test- zwecken dient. it is displayed in Wikisource like "Dies ist ein Beispieltext, der nur Test- zwecken dient." Correct would be: "Dies ist ein Beispieltext, der nur Testzwecken dient." (without "-" and empty space) If adding this to the source text: Dies ist ein Beispieltext, der nur Test­ (or anything else instead of "shy") zwecken dient. would result in the correct text when viewing the article, it were possible to keep the original formatting in the source text and have nice text in the article view.
The system added a line break: After "it is displayed in Wikisource like.." in the 4th line it should be shown "Test- zwecken". That is what Mediawiki displays.
­ is extremely unreliable in current browsers; behavior is inconsistent from vendor to vendor. I wouldn't expect this to work the way you want even if the newline were stripped.
Unfortunately I didn't explain it enough. It would be a nice additional feature if ­ always worked, but what I would like to have is a possibility to keep the original line break in the source text view and have nice text in the article view. Therefore I would like to have a character/string that is not displayed itself and "deletes" the empty space after it when there is a line break in the source. This can be ­ but could also be "<->" or something else. It should just make possible that exam<-> ple in the sourcetext view results in "example" instead of "exam ple" in the article view. The same should be with "-" at the end of line in the source text: twenty- three should result in "twenty-three" in the article view instead of "twenty- three"
I would like to work on this bug.Can someone please assign this to me
(In reply to comment #4) > Unfortunately I didn't explain it enough. It would be a nice additional > feature > if ­ always worked, but what I would like to have is a possibility to > keep > the original line break in the source text view and have nice text in the > article view. Therefore I would like to have a character/string that is not > displayed itself and "deletes" the empty space after it when there is a line > break in the source. This can be ­ but could also be "<->" or something > else. It should just make possible that > exam<-> > ple > in the sourcetext view results in "example" instead of "exam ple" in the > article > view. > The same should be with "-" at the end of line in the source text: > twenty- > three > should result in "twenty-three" in the article view instead of "twenty- > three" I am assigned to this bug.Can you please figure out the link or the page where you found it.