https://bugzilla.wikimedia.org/show_bug.cgi?id=29025

--- Comment #6 from vlak...@gmail.com 2012-01-23 13:28:39 UTC ---
Created attachment 9895
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9895
patch proposal for Bug 28950 and Bug 29025

First patch proposal for Bug 28950 and Bug 29025. Seems to be working great,
nevertheless any suggestion would be very welcome.

The benefits of this patch are:
- (Bug 28950) non-breaking spaces (both literal char and HTML entities) support
- (Bug 29025) no surprising link creation if several \n's (like
"ISBN\n\n1234567890")


The only limitation I am aware of is that \n isn't implemented (yet), so for
example "ISBN\n1234567890" doesn't produce a link. But don't forget cases like
"ISBN \n123...", "ISBN\n 123..." (<pre> insertion!), "ISBN\n&nbsp;123...", and
so on.

\n support is feasible, I don't know if it would be that useful, however I'd
like to be as close as possible to "normal" wikicode parsing.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to