use of non-breaking-spaces in manuals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
High
|
Roger Luethi |
Bug Description
I stumbled over non-breaking spaces in some odd locations. Most of
them are in the security-guide. Non-breaking spaces will print as a blank
but (unlike regular spaces) prevent line breaks in that location.
Non-breaking spaces in bad locations cause suboptimal line breaking.
In the example (from security-
<C2><A0>, the UTF-8 code for non-break spaces.
-------
<para>When evaluating base hypervisor technologies, consider if the
hypervisor has been certified against FIPS 140-2. Not only is conformance
against FIPS 140-2 mandated per U.S. Government policy, formal
certification indicates that a given implementation of a cryptographic
algorithm has been reviewed for conformance against module specification,
cryptographic module ports and interfaces; roles,<
authentication; finite state model; physical security; operational
environment; cryptographic key management; electromagnetic
interference/
self-tests;
attacks.</para>
-------
To check XML documents for this issue, you can use GNU grep (note: this
will probably not work on a Mac, I think they switched to BSD grep):
export LESSCHARSET=ascii
grep -Pn --color=always '\xc2\xa0' *.xml|less
Maybe this is a well-known issue, but it's easy to overlook because many
editors and text viewers make it hard to recognize non-breaking spaces.
Use of non-breaking spaces in openstack-manuals:
1 common
2 image-guide
34 security-guide
1 user-guide-admin
10 openstack-ops [ different repo ]
Some manuals use and define an XML entity for it (some manuals
even have both versions):
4 admin-guide-cloud
5 common
1 glossary
3 image-guide
1 install-guide
3 training-guides
2 user-guide-admin
1 user-guide
I suggest converting all non-breaking spaces to to make them easier
to spot and -- where appropriate -- remove (patch available).
I could also submit a patch that removes those instances that I consider
mistakes, but that would be a more subjective measure.
Changed in openstack-manuals: | |
assignee: | nobody → Roger Luethi (rl-o) |
Changed in openstack-manuals: | |
status: | Confirmed → In Progress |
We document one usage for on the conventions page: Numbers and units, e.g. 1 GB.
Patches are welcome - even ones that remove those instances that you consider mistakes.