From 7235a1f427ebb7df30a64a53ab072080727a087c Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sat, 11 Apr 2015 17:49:38 -0700 Subject: [PATCH] .topmsg: update with more detailed information --- .topmsg | 39 +++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) rewrite .topmsg (72%) diff --git a/.topmsg b/.topmsg dissimilarity index 72% index 81298a280a..628765bd89 100644 --- a/.topmsg +++ b/.topmsg @@ -1,6 +1,33 @@ -Subject: [PATCH] gitweb: use   instead of   - -Same number of characters; means the same thing; -but it's way more compatible. - -Signed-off-by: Kyle J. McKay +Subject: [PATCH] gitweb: do not use undeclared entities + +The XML specification requires that all XML processors +MUST recognize these five entities: + + < + > + & + ' + " + +whether the are declared or not. Note that neither +  nor ⋅ are listed. + +That means   and ⋅ can only be used if they +are declared otherwise a bad XML document will be +created. + +Replace   with   and ⋅ with · +so that declarations are not required. + +Note that ⋅ is actually U+22C5 "DOT OPERATOR" which +is just wrong since we're displaying text not mathematical +formulas so we replace it with the much more correct +U+00B7 "MIDDLE DOT" instead. + +We could just guarantee that the entities in question +are declared in the XML header, however, if that gets +stripped off leaving us with a bare html top-level +tag the document would become invalid, so we don't take +that route. + +Signed-off-by: Kyle J. McKay -- 2.11.4.GIT