Ticket #20246: Use non-breakable space between amount and units #1106

Closed
wants to merge 19 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

EmilStenstrom commented May 18, 2013

No description provided.

django/utils/html.py
+ Avoid text wrapping in the middle of a phrase by adding non-breaking
+ spaces where there previously where normal spaces.
+ """
+ return value.replace(" ", u"\xa0")
@claudep

claudep May 18, 2013

Member

The u prefix has to be removed, as we import unicode_literals at the top.

@claudep

claudep May 18, 2013

Member

Also second where is were inside docstring

Contributor

EmilStenstrom commented May 18, 2013

@claudep Updated pull request with your comments fixed.

Owner

apollo13 commented May 21, 2013

Closing here since the ticket is fixed.

@apollo13 apollo13 closed this May 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment