1 Subject: [PATCH] gitweb: do not use undeclared entities
3 The XML specification requires that all XML processors
4 MUST recognize these five entities:
12 whether the are declared or not. Note that neither
13 nor ⋅ are listed.
15 That means and ⋅ can only be used if they
16 are declared otherwise a bad XML document will be
19 Replace with   and ⋅ with ·
20 so that declarations are not required.
22 Note that ⋅ is actually U+22C5 "DOT OPERATOR" which
23 is just wrong since we're displaying text not mathematical
24 formulas so we replace it with the much more correct
25 U+00B7 "MIDDLE DOT" instead.
27 We could just guarantee that the entities in question
28 are declared in the XML header, however, if that gets
29 stripped off leaving us with a bare html top-level
30 tag the document would become invalid, so we don't take
33 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>