Sneaky comment out of trailing .s on sections
authorGavin Carothers <gavin@carothers.name>
Wed, 20 Jun 2012 14:57:28 -0700
changeset 475 e1b6fecd2247
parent 474 bce3c743fbe3
child 476 dfd89b0ac9d3
Sneaky comment out of trailing .s on sections
ReSpec.js/js/respec.js
--- a/ReSpec.js/js/respec.js	Wed Jun 20 14:54:27 2012 -0700
+++ b/ReSpec.js/js/respec.js	Wed Jun 20 14:57:28 2012 -0700
@@ -1228,7 +1228,7 @@
             }
             if (this.appendixMode) secnos[0] = this.alphabet.charAt(current[0] - this.lastNonAppendix);
             var secno = secnos.join(".");
-            if (!/\./.test(secno)) secno = secno + ".";
+            //if (!/\./.test(secno)) secno = secno + "."; -- gjc, the periods in the middle of sentances when using secRef is really bad.
             var df = sn.documentFragment();
             if (!isIntro) sn.element("span", { "class": "secno" }, df, secno + " ");
             // sn.text(" ", df);