notmuch/devel/nmbug
W. Trevor King 711d04c821 nmbug-status: Slug the title when using it as an id
Also allow manual id overrides from the JSON config.  Sluggin avoids
errors like:

   Bad value '#Possible bugs' for attribute href on element a:
   Whitespace in fragment component. Use %20 in place of spaces.

from http://validator.w3.org.

I tried just quoting the titles (e.g. 'Possible%20bugs'), but that
didn't work (at least with Firefox 24.2.0).  Slugging avoids any
ambiguity over when the quotes are expanded in the client.  The specs
are unclear about quoting, saying only [1]:

  Value: Any string, with the following restrictions:

    must be at least one character long
    must not contain any space characters

[1]: http://dev.w3.org/html5/markup/global-attributes.html#common.attrs.id
2014-02-13 21:45:40 -04:00
..
nmbug nmbug: allow empty prefix 2013-03-02 10:42:45 -04:00
nmbug-status nmbug-status: Slug the title when using it as an id 2014-02-13 21:45:40 -04:00
status-config.json nmbug: move from contrib to devel 2013-02-16 07:54:33 -04:00