Opened 11 years ago

Last modified 5 years ago

#1204 new Feature Requests

Non-breaking-space?

Reported by: Joel de Guzman Owned by: Daniel James
Milestone: To Be Determined Component: quickbook
Version: Boost 1.34.1 Severity: Cosmetic
Keywords: Cc:

Description (last modified by René Rivera)

Joel:

I think we should take advantage of macros as much as possible before considering any syntax addition. nbsp can definitely be a macro, FWIW, e.g.:

[def _nbsp_ [''' ''']]

Rene:

Won't that break in most situations? Specifically because it won't have spaces around it to differentiate it from the context:

[^-f_nbsp_/Jambase/]

Dave:

At my urging, docutils ended up with a "breaking non-space". That is, if you escape a regular space it just separates docutils tokens with no other significance. Thus:

[^-f\ _nbsp_\ /Jambase/]

Change History (2)

comment:1 Changed 11 years ago by René Rivera

Description: modified (diff)

comment:2 Changed 5 years ago by Joel de Guzman

Owner: changed from Joel de Guzman to Daniel James
Note: See TracTickets for help on using tickets.